diff --git a/static/css/style.css b/static/css/style.css index 51a0fe6..c61d7f4 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -132,26 +132,7 @@ header p { /* 响应式布局 - 移动设备 */ @media (max-width: 768px) { - .sidebar { - position: fixed; - left: -var(--sidebar-width); - top: var(--header-height); - z-index: 99; - height: calc(100vh - var(--header-height)); - } - - .sidebar.open { - left: 0; - width: var(--sidebar-width); - } - - .sidebar.open .nav-item span { - display: block; - } - - .sidebar.open .nav-item i { - margin-right: 1rem; - } + /* 这些样式已经通过Tailwind CSS类在HTML中实现,这里移除避免冲突 */ } .nav-menu { diff --git a/static/index.html b/static/index.html index 7503240..48b246b 100644 --- a/static/index.html +++ b/static/index.html @@ -268,7 +268,7 @@