fix(usage): thin 24h trend axis labels
This commit is contained in:
1 parent
8f52a08177
commit
3eff2830b5
2 files changed
+3
-6
No files matched your search
@@ -1032,7 +1032,7 @@ function UsageTrend({
|
||||
|
||||
const labelIndexes = selectTrendAxisLabels(
|
||||
count,
|
||||
series.bucket === '30m' ? count : count > 48 ? 9 : count > 24 ? 8 : 7,
|
||||
count > 48 ? 5 : count > 24 ? 6 : 7,
|
||||
);
|
||||
const compactSameDay =
|
||||
count > 1 &&
|
||||
|
||||
+2
-5
@@ -8174,7 +8174,7 @@ textarea:focus-visible {
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
grid-template-columns: 36px minmax(0, 1fr);
|
||||
grid-template-rows: minmax(140px, 1fr) 28px;
|
||||
grid-template-rows: minmax(140px, 1fr) 18px;
|
||||
column-gap: 8px;
|
||||
row-gap: 4px;
|
||||
}
|
||||
@@ -8259,7 +8259,7 @@ textarea:focus-visible {
|
||||
position: relative;
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
height: 28px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.usage-trend-x-axis span {
|
||||
@@ -8283,9 +8283,6 @@ textarea:focus-visible {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
.usage-trend-x-axis span:nth-child(even) {
|
||||
top: 14px;
|
||||
}
|
||||
|
||||
.usage-trend-tooltip {
|
||||
position: absolute;
|
||||
|
||||
Reference in new issue
Block a user