fix: 左侧边栏未固定的问题
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
.wrapper {
|
||||
@apply bg-green-400 text-white min-h-screen;
|
||||
@apply absolute top-0 left-0 right-0 bottom-0 sm:static;
|
||||
@apply -translate-x-full transform transition-transform sm:transition-none sm:translate-x-0;
|
||||
@apply fixed top-0 sm:left-0 right-0 bottom-0 sm:static -left-full;
|
||||
@apply transition-all;
|
||||
:global(.dark) & {
|
||||
@apply bg-gray-800 text-gray-400;
|
||||
}
|
||||
|
||||
&.focusOpen {
|
||||
@apply translate-x-0;
|
||||
@apply left-0;
|
||||
}
|
||||
}
|
||||
.sidebar {
|
||||
|
Reference in New Issue
Block a user