From a035200a7d43fcd512b08fb7ab4c58f5a223507b Mon Sep 17 00:00:00 2001 From: Menghuan1918 Date: Tue, 15 Sep 2026 00:47:36 +0800 Subject: [PATCH] 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. --- src/client/tasks-graph.module.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/client/tasks-graph.module.css b/src/client/tasks-graph.module.css index e2b97ba..b60554d 100644 --- a/src/client/tasks-graph.module.css +++ b/src/client/tasks-graph.module.css @@ -457,18 +457,21 @@ .popRows { display: grid; grid-template-columns: auto 1fr; - gap: 2px 10px; + gap: 3px 10px; align-items: baseline; + line-height: 1.45; } .popKey { font-size: 10px; + line-height: 1.45; color: var(--dsw-alias-label-tertiary); } .popValue { text-align: right; font-size: 11px; + line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -566,6 +569,7 @@ .popHint { font-size: 10px; + line-height: 1.45; color: var(--dsw-alias-label-tertiary); } @@ -631,6 +635,7 @@ align-items: center; gap: 4px; padding: 1px 6px; + line-height: 1.35; border: 1px solid var(--dsw-alias-border-l4); border-radius: 2px; font-family: var(--ds-font-family-code); @@ -677,6 +682,7 @@ flex: 1; min-width: 0; font-size: 10px; + line-height: 1.35; color: var(--dsw-alias-label-primary); overflow: hidden; text-overflow: ellipsis; @@ -688,6 +694,7 @@ max-width: 72px; font-family: var(--ds-font-family-code); font-size: 9px; + line-height: 1.35; color: var(--dsw-alias-label-tertiary); overflow: hidden; text-overflow: ellipsis; @@ -911,6 +918,7 @@ min-width: 0; font-family: var(--ds-font-family-code); font-size: 11px; + line-height: 1.35; color: var(--dsw-alias-label-primary); overflow: hidden; text-overflow: ellipsis;