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

request: in the right sidebar, prioritize linebreaks at . #100

Closed
hrmacbeth opened this issue Dec 16, 2022 · 2 comments
Closed

request: in the right sidebar, prioritize linebreaks at . #100

hrmacbeth opened this issue Dec 16, 2022 · 2 comments

Comments

@hrmacbeth
Copy link

In doc-gen3, the path of the file currently displayed appears at the top of the right sidebar, with linebreaks preferentially inserted at the . between a folder and its subfolder. In doc-gen4 the linebreaks simply fall where they may, which is a small loss in readability. Could the doc-gen3 behaviour be implemented here?

Compare, e.g.,
https://leanprover-community.github.io/mathlib_docs/algebra/group_power/basic.html
https://leanprover-community.github.io/mathlib4_docs/Mathlib/Algebra/GroupPower/Basic.html

@hargoniX
Copy link
Collaborator

This is most likely a CSS thing I guess? A quick comparision between the CSS attributes of the two things does not show an obvious difference for me though. If someone can tell me how you did it I'll be happy to add it. As so often I sadly have to say I'm not a frontend developer, I don't know how to do this :(

@hrmacbeth
Copy link
Author

Fixed by #115

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