We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b11e0bd commit 7497d21Copy full SHA for 7497d21
src/css/custom.css
@@ -324,8 +324,14 @@ html[data-theme='dark'] .markdown table tr:nth-child(even) {
324
325
@media screen and (max-width: 996px) {
326
.navbar-sidebar {
327
+ position: fixed;
328
+ inset: 0 auto 0 0;
329
+ display: flex;
330
+ flex-direction: column;
331
width: min(83vw, 26rem);
332
max-width: 26rem;
333
+ height: 100dvh;
334
+ max-height: 100dvh;
335
background: rgba(238, 246, 255, 0.92);
336
backdrop-filter: blur(18px);
337
}
@@ -356,6 +362,8 @@ html[data-theme='dark'] .markdown table tr:nth-child(even) {
356
362
357
363
358
364
.navbar-sidebar__items {
365
+ flex: 1 1 auto;
366
+ min-height: 0;
359
367
height: calc(100vh - var(--ifm-navbar-height));
360
368
padding: 0;
361
369
background: transparent;
0 commit comments