Keep speed graph position stable across values
Reserve a fixed twelve-character label column so one-, two-, and three-digit speed values cannot resize the header control or shift the 150-pixel sparkline.
This commit is contained in:
@@ -629,14 +629,16 @@ body,
|
||||
}
|
||||
|
||||
.speed-sparkline-value {
|
||||
font-size: 12px;
|
||||
flex: 0 0 12ch;
|
||||
width: 12ch;
|
||||
min-width: 12ch;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: var(--text);
|
||||
white-space: nowrap;
|
||||
min-width: 32px;
|
||||
text-align: right;
|
||||
}
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.tab {
|
||||
background: var(--tab-bg);
|
||||
|
||||
Reference in New Issue
Block a user