Skip to content

Conversation

@Y-k-Y
Copy link
Contributor

@Y-k-Y Y-k-Y commented Sep 7, 2022

Resolves #234

Maybe we can remove unused docs-sidebar__content--invisible class name in sidebar.twig?

@Y-k-Y Y-k-Y requested review from TatianaFomina, neSpecc, nikmel2803, robonetphy and talyguryn and removed request for neSpecc September 7, 2022 13:44
@TatianaFomina
Copy link
Contributor

Maybe we can remove unused docs-sidebar__content--invisible class name in sidebar.twig?

This class is used here https://github.com/codex-team/codex.docs/blob/main/src/frontend/js/modules/sidebar.js#L234

It's a workaround preventing sidebar from jumping when applying collapsed sections state

@Y-k-Y Y-k-Y merged commit 1bc65be into main Sep 9, 2022
@Y-k-Y Y-k-Y deleted the feature/hide-sidebar-content-on-mobile branch September 9, 2022 11:25
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

Successfully merging this pull request may close these issues.

Mobile Sidebar should be closed by default

4 participants