hextra/assets/css/components/sidebar.css
Xin 7e37b73779 feat: revamp search experience
chore: hide toc on small screen

chore: make sidebar responsive
2023-08-16 20:39:54 +01:00

10 lines
346 B
CSS

@media (max-width: 767px) {
.sidebar-container {
@apply fixed pt-[calc(var(--navbar-height))] top-0 w-full bottom-0 z-[15] overscroll-contain bg-white dark:bg-dark;
/* transition: transform 0.8s cubic-bezier(0.52, 0.16, 0.04, 1); */
will-change: transform, opacity;
contain: layout style;
backface-visibility: hidden;
}
}