Fix unified score-state box model across chart states

This commit is contained in:
2026-05-29 16:04:00 +02:00
parent 0653dd923d
commit bc6a058555
+14 -2
View File
@@ -19,13 +19,26 @@
--layout-score-bar-item-columns: var(--layout-score-bar-item-single-score-columns);
}
.sg-score-state--positive {
.sg-score-state--positive,
.sg-score-state--neutral,
.sg-score-state--negative {
margin: 0;
justify-self: end;
text-align: right;
}
.sg-score-state--positive {
color: var(--text-score-state-positive);
}
.sg-score-state--neutral {
color: var(--text-score-state-neutral);
}
.sg-score-state--negative {
color: var(--text-score-state-negative);
}
.sg-score-bar-label {
margin: 0;
color: var(--text-chart-default);
@@ -258,4 +271,3 @@
transparent calc(var(--sandwich-line-height) * 2)
);
}