Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide label for attributes with no value #420

Open
starkadur opened this issue Jan 16, 2025 · 1 comment
Open

Hide label for attributes with no value #420

starkadur opened this issue Jan 16, 2025 · 1 comment

Comments

@starkadur
Copy link

Can we hide labels for attributes with no value, in the sidebar? For example, if there is no author for a specific text, then the label "Author" would not be shown.

@arildm
Copy link
Member

arildm commented Jan 20, 2025

Thank you for your suggestion!

There is also a point in showing empty attributes, so I suppose we want this to be configurable. Two options that come to mind is:

Another possibility is to add specific CSS classes for empty attributes in the sidebar, so that you can add CSS rules to hide them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants