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

add flex layout for left nav container #10353

Closed

Conversation

hakanguclu
Copy link

fixes #10352

this PR makes the left nav a flex container. by doing that, it also removes the manual calculation that happens in custom.js using fixed margin numbers. that manual calculation makes parts of the left nav non-scrollable in e.g. "stable" mode of the docs. with this PR, any changes to the top portion of the left nav's height will not matter as the bottom part will flex on the available height automatically.

this commit makes the left nav a flex container. by doing that, it also removes the fixed calculation that happens in custom.js. that manual calculation makes parts of the left nav non-scrollable in e.g. "stable" mode of the docs. with this commit, any changes to the top portion of the left nav's height will not matter as the bottom part will flex on the available height automatically.
@hakanguclu
Copy link
Author

Closing this PR as commit 7a79288 closes the issue this PR was attached to.

@hakanguclu hakanguclu closed this Dec 3, 2024
@hakanguclu hakanguclu deleted the flex-layout-left-nav branch December 3, 2024 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Elements are not scrollable in the left nav
2 participants