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

Table of Contents is collapsed with no hint that it could be expanded #137

Open
thkoch2001 opened this issue Jan 2, 2022 · 1 comment
Open

Comments

@thkoch2001
Copy link

I did eventually click on it but there might be enough users who will not find out that they can expand the table of contents.

I actually looked first at the top of the main area for a table of contents, much like in Wikipedia.

BTW: Should #72 be closed?

@stapelberg
Copy link
Contributor

This is because of display: block on the summary and details elements:

debiman/assets/style.css

Lines 251 to 253 in 38831b8

summary, details {
display: block;
}

This line has been there since the initial commit, and I’m not sure why it was added.

When you change it to display: list-item, a drop-down arrow appears (at least in Chrome, not sure about Firefox).

I’m not sure if we can just change it, or if that will break anything else.


Issue #72 is related, but not obsolete. The list of languages is still not collapsed, but always displayed in full.

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