starter 主题导航栏高度调整

This commit is contained in:
tangly1024.com
2024-09-24 16:09:24 +08:00
parent 8fb850ed22
commit 32a113fbce
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ const SideBarDrawer = ({
className={`block ${showOnPC ? '' : 'lg:hidden'} top-0`}>
<div
id='sidebar-drawer'
className={`${className} ${isOpen ? 'translate-x-0 opacity-100' : 'translate-x-[-100%] opacity-0'} transform transition-transform duration-300 ease-in-out bg-white dark:bg-gray-900 flex flex-col fixed h-full left-0 overflow-y-scroll top-0 z-30`}>
className={`z-50 ${className} ${isOpen ? 'translate-x-0 opacity-100' : 'translate-x-[-100%] opacity-0'} transform transition-transform duration-300 ease-in-out bg-white dark:bg-gray-900 flex flex-col fixed h-full left-0 overflow-y-scroll top-0`}>
{children}
</div>

View File

@@ -10,7 +10,7 @@ const Style = () => {
#theme-starter .sticky{
position: fixed;
z-index: 9999;
z-index: 20;
background-color: rgb(255 255 255 / 0.8);
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;