mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-01 20:55:16 +09:00
fix(ui): keep spark-less Monitoring tiles compact
Pack .sk-kpi grid rows at the top so a tile stretched to its siblings' height (Load average, Containers running) keeps their spacing and leaves the slack empty at the bottom.
This commit is contained in:
1 parent
a51f6dc8c5
commit
4b0efc6aa3
1 file changed
+3
@@ -166,6 +166,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
|
||||
grid-template-areas: "icon body trend" "spark spark spark";
|
||||
|
||||
&:hover { border-color: var(--border-strong); }
|
||||
// Spark-less tile stretched to its siblings' height: pack rows at the top and
|
||||
// leave the slack empty. Spark tiles keep the default so the spark fills down.
|
||||
&:not(:has(> .sk-kpi__spark)) { align-content: start; }
|
||||
|
||||
// A bare glyph. Tinted icon squares in a rainbow of tones read as
|
||||
// decoration; only "act on this" tones keep a colour, on the glyph alone.
|
||||
|
||||
Reference in new issue
Block a user