mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-19 03:00:49 +08:00
feat: adjust sidebar positioning and height for improved layout, adding padding for navbar integration
This commit is contained in:
@@ -3057,8 +3057,9 @@ input:checked+.slider:before {
|
|||||||
.sidebar {
|
.sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: var(--navbar-height, 69px);
|
top: 0;
|
||||||
height: calc(100vh - var(--navbar-height, 69px));
|
height: 100vh;
|
||||||
|
padding-top: calc(var(--navbar-height, 69px) + 20px);
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
z-index: 150;
|
z-index: 150;
|
||||||
box-shadow: var(--shadow-sm);
|
box-shadow: var(--shadow-sm);
|
||||||
@@ -3110,7 +3111,7 @@ input:checked+.slider:before {
|
|||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
height: auto;
|
height: auto;
|
||||||
min-height: var(--navbar-height, 69px);
|
min-height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-navbar-title {
|
.top-navbar-title {
|
||||||
|
|||||||
Reference in New Issue
Block a user