fix: 优化 CSS 结构

This commit is contained in:
2026-04-21 00:15:57 +08:00
parent e943b1b7d7
commit c0483b87f8
13 changed files with 128 additions and 122 deletions
-46
View File
@@ -2,22 +2,6 @@ NavigatorScreen {
align: center middle;
}
.infview {
width: 5fr
}
.dataview {
width: 3fr
}
.repo_listitem {
layout: grid;
grid-size: 2;
}
.repo_listitem_btn {
dock: right;
offset: -5% 0
}
#dialog {
grid-size: 2;
@@ -29,33 +13,3 @@ NavigatorScreen {
border: thick $background 80%;
background: $surface;
}
#dashboardtop {
height: 4
}
#input-container {
height: 3;
margin-top: 1;
align: center middle;
}
.container {
height: auto;
padding: 0 0 1 0;
}
#message-input {
width: 1fr;
margin-right: 1;
}
#status-bar {
height: 1;
margin-top: 1;
text-style: italic;
color: $text-muted;
}
.session-label {
color: $primary;
text-style: bold;
}
@@ -3,7 +3,7 @@
}
#header {
height: 4;
height: 3;
}
.repo-list-item {
@@ -0,0 +1,27 @@
.foot {
align-vertical: bottom;
}
Switch {
dock: right;
}
Label {
width: auto
}
Select {
width: 55%;
dock: right;
}
Input {
width: 55%;
dock: right;
}
Horizontal {
width: 100%;
height: 4;
padding: 0 0 1 0;
}