Updated CSS for metrics bar.

This commit is contained in:
Mike Cao 2024-03-06 11:22:26 -08:00
parent 9779d9ba76
commit 8e68a781c5
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,6 @@ export function WebsiteMetricsBar({
change={uniques.change} change={uniques.change}
/> />
<MetricCard <MetricCard
className={styles.card}
label={formatMessage(labels.bounceRate)} label={formatMessage(labels.bounceRate)}
value={uniques.value ? (num / uniques.value) * 100 : 0} value={uniques.value ? (num / uniques.value) * 100 : 0}
change={ change={
@ -65,7 +64,6 @@ export function WebsiteMetricsBar({
reverseColors reverseColors
/> />
<MetricCard <MetricCard
className={styles.card}
label={formatMessage(labels.averageVisitTime)} label={formatMessage(labels.averageVisitTime)}
value={ value={
totaltime.value && pageviews.value totaltime.value && pageviews.value

View File

@ -13,6 +13,7 @@
font-weight: 700; font-weight: 700;
white-space: nowrap; white-space: nowrap;
min-height: 60px; min-height: 60px;
color: var(--base900);
} }
.label { .label {
@ -22,6 +23,7 @@
gap: 10px; gap: 10px;
white-space: nowrap; white-space: nowrap;
min-height: 30px; min-height: 30px;
color: var(--base800);
} }
.change { .change {