There was an error while loading. Please reload this page.
1 parent da4be51 commit 64d5e07Copy full SHA for 64d5e07
1 file changed
editor/index.html
@@ -12,6 +12,10 @@
12
#site-nav { flex-shrink: 0; position: static !important; }
13
.layout { display: flex; flex: 1; overflow: hidden; min-height: 0; }
14
.sidebar-outer { width: 220px; min-width: 220px; border-right: 1px solid #e0e0e0; flex-shrink: 0; overflow-y: auto; }
15
+ @media (max-width: 768px) {
16
+ .sidebar-outer { position: fixed; top: 60px; left: -240px; height: calc(100vh - 60px); background: #fff; z-index: 200; transition: left 0.25s ease; box-shadow: 2px 0 12px rgba(0,0,0,0.08); }
17
+ .sidebar-outer.open { left: 0; }
18
+ }
19
#site-sidebar { padding: 1.5rem 1.5rem 1rem; display: flex; flex-direction: column; }
20
#site-sidebar a { font-size: 14px; color: #555; padding: 0.4rem 0; display: block; text-decoration: none; }
21
#site-sidebar a:hover { color: #111; }
0 commit comments