可拖动调整大小的面板

This commit is contained in:
YHH
2025-10-15 09:43:48 +08:00
parent d0fcc0e447
commit 82451e9fd3
7 changed files with 365 additions and 56 deletions

View File

@@ -63,17 +63,11 @@
.sidebar-left,
.sidebar-right {
width: 250px;
height: 100%;
background-color: #252526;
border-right: 1px solid #3e3e3e;
overflow: hidden;
}
.sidebar-right {
border-right: none;
border-left: 1px solid #3e3e3e;
}
.sidebar-left h3,
.sidebar-right h3 {
font-size: 14px;
@@ -91,16 +85,13 @@
}
.main-content {
display: flex;
flex-direction: column;
flex: 1;
height: 100%;
overflow: hidden;
}
.viewport {
flex: 1;
height: 100%;
background-color: #1e1e1e;
border-bottom: 1px solid #3e3e3e;
padding: 12px;
display: flex;
flex-direction: column;
@@ -113,9 +104,8 @@
}
.bottom-panel {
height: 200px;
height: 100%;
background-color: #252526;
padding: 12px;
overflow-y: auto;
}