.scrollarea { overflow-y: auto; } @media (min-width: 992px) { .sidebar { max-width: 4.5rem; } #search-bar { width: 33vw; } } @media (max-width: 992px) { .nav-link { border-bottom: 0 !important; } #user-dropdown { border-top: 0 !important; } .sidebar { max-height: 4.5rem; } } .bi { vertical-align: -0.125em; fill: currentColor; } #search-bar { min-height: 0px; } #sidebar-and-search { max-height: 100dvh; }