Skip to content

Commit 009a747

Browse files
committed
fix(ui): correct mobile display, hide sidebar button on desktops
1 parent 62a67b9 commit 009a747

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

apps/website/src/css/custom.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ html[data-theme='dark'] {
140140
}
141141
}
142142

143-
144143
.DocSearch-Button {
145144
border-radius: 0 !important;
146145
}
@@ -178,6 +177,7 @@ html[data-theme='dark'] {
178177
&#{&}--sublist#{&}--active {
179178
--ifm-menu-color-active: var(--ifm-color-primary);
180179
color: var(--ifm-menu-color-active);
180+
overflow: hidden;
181181
}
182182
&--sublist {
183183
text-transform: uppercase;

apps/website/src/theme/DocSidebar/styles.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@
9191
html[data-theme='dark'] .collapseSidebarButton:focus {
9292
background-color: var(--ifm-color-emphasis-200);
9393
}
94+
95+
/* Hide the responsive sidebar toggle button on desktop */
96+
:global(.menu__button) {
97+
display: none !important;
98+
}
9499
}
95100

96101
.sidebarLogo,

0 commit comments

Comments
 (0)