Skip to content

Commit c29f13d

Browse files
committed
🔧 Fix missing metric values by making CSS more specific
- Changed .metric-value to .metrics-compact .metric-value to target only compact layout - Reverted legacy rule to avoid breaking other metric displays - Numbers should now display properly in the compact grid
1 parent f297e13 commit c29f13d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎static/dashboard.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
font-weight: 500;
190190
}
191191

192-
.metric-value {
192+
.metrics-compact .metric-value {
193193
color: var(--yellow);
194194
font-weight: 700;
195195
font-size: 0.9rem;
@@ -233,7 +233,7 @@
233233
font-size: 0.8rem;
234234
}
235235

236-
.metric-value {
236+
.metrics-compact .metric-value {
237237
font-size: 0.9rem;
238238
}
239239
}
@@ -269,7 +269,7 @@
269269
}
270270

271271
.metric-value {
272-
font-size: 0.9rem;
272+
font-size: 2.5rem;
273273
font-weight: 700;
274274
margin-bottom: 10px;
275275
}

0 commit comments

Comments
 (0)