mirror of
https://github.com/imfing/hextra.git
synced 2025-07-01 15:57:15 -04:00
feat: revamp search experience
chore: hide toc on small screen chore: make sidebar responsive
This commit is contained in:
9
assets/css/components/sidebar.css
Normal file
9
assets/css/components/sidebar.css
Normal file
@ -0,0 +1,9 @@
|
||||
@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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user