mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
fix(theme-classic): fix docs sidebar layout shifts when expanding categories (#7134)
This commit is contained in:
parent
171927342f
commit
3e110054d7
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,12 @@
|
|||
flex-grow: 1;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
@supports (scrollbar-gutter: stable) {
|
||||
.menu {
|
||||
padding: 0.5rem 0 0.5rem 0.5rem;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
}
|
||||
|
||||
.menuWithAnnouncementBar {
|
||||
margin-bottom: var(--docusaurus-announcement-bar-height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue