style(tasks-ui): tighten popover/board/drawer line-heights

The host body line-height stretched the popover key/value grid and the
task/job rows; every micro-type block now declares its own line-height.
This commit is contained in:
Menghuan1918 committed 2026-09-27 22:18:19 +08:00
1 parent 490e96080a
commit a035200a7d
1 file changed
+9 -1
+9 -1
View File
@@ -457,18 +457,21 @@
.popRows { .popRows {
display: grid; display: grid;
grid-template-columns: auto 1fr; grid-template-columns: auto 1fr;
gap: 2px 10px; gap: 3px 10px;
align-items: baseline; align-items: baseline;
line-height: 1.45;
} }
.popKey { .popKey {
font-size: 10px; font-size: 10px;
line-height: 1.45;
color: var(--dsw-alias-label-tertiary); color: var(--dsw-alias-label-tertiary);
} }
.popValue { .popValue {
text-align: right; text-align: right;
font-size: 11px; font-size: 11px;
line-height: 1.45;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@@ -566,6 +569,7 @@
.popHint { .popHint {
font-size: 10px; font-size: 10px;
line-height: 1.45;
color: var(--dsw-alias-label-tertiary); color: var(--dsw-alias-label-tertiary);
} }
@@ -631,6 +635,7 @@
align-items: center; align-items: center;
gap: 4px; gap: 4px;
padding: 1px 6px; padding: 1px 6px;
line-height: 1.35;
border: 1px solid var(--dsw-alias-border-l4); border: 1px solid var(--dsw-alias-border-l4);
border-radius: 2px; border-radius: 2px;
font-family: var(--ds-font-family-code); font-family: var(--ds-font-family-code);
@@ -677,6 +682,7 @@
flex: 1; flex: 1;
min-width: 0; min-width: 0;
font-size: 10px; font-size: 10px;
line-height: 1.35;
color: var(--dsw-alias-label-primary); color: var(--dsw-alias-label-primary);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -688,6 +694,7 @@
max-width: 72px; max-width: 72px;
font-family: var(--ds-font-family-code); font-family: var(--ds-font-family-code);
font-size: 9px; font-size: 9px;
line-height: 1.35;
color: var(--dsw-alias-label-tertiary); color: var(--dsw-alias-label-tertiary);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -911,6 +918,7 @@
min-width: 0; min-width: 0;
font-family: var(--ds-font-family-code); font-family: var(--ds-font-family-code);
font-size: 11px; font-size: 11px;
line-height: 1.35;
color: var(--dsw-alias-label-primary); color: var(--dsw-alias-label-primary);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;