fix(frontend): adjust the first node card height to avoid higher a little then others

This commit is contained in:
2026-09-10 20:15:26 +08:00
parent 8797f8eda6
commit 46f87e9b22
+9
View File
@@ -244,6 +244,14 @@ h1, h2, h3, h4 {
margin-top: 18px; margin-top: 18px;
} }
/* Cards inside a grid are spaced by `gap`. Without this the stacked-card rule
above would inset every card but the first, leaving the first one sticking
up by 18px. */
.grid-2 > .card,
.grid-3 > .card {
margin-top: 0;
}
.card-head { .card-head {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -651,6 +659,7 @@ h1, h2, h3, h4 {
align-items: center; align-items: center;
gap: 12px; gap: 12px;
flex-wrap: wrap; flex-wrap: wrap;
margin-bottom: 18px;
} }
.toolbar .spacer { .toolbar .spacer {