mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-03 03:10:50 +08:00
fix: adjust sidebar positioning in layout.scss for improved responsiveness and visual consistency
This commit is contained in:
@@ -184,6 +184,7 @@
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
@@ -197,8 +198,6 @@
|
|||||||
transition: width $transition-normal, transform $transition-normal;
|
transition: width $transition-normal, transform $transition-normal;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
height: calc(100vh - 57px); // 减去顶栏高度
|
height: calc(100vh - 57px); // 减去顶栏高度
|
||||||
|
|
||||||
&.collapsed {
|
&.collapsed {
|
||||||
|
|||||||
Reference in New Issue
Block a user