Skip to content

Commit

Permalink
Updated CSS for metrics bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Mar 6, 2024
1 parent 9779d9b commit 8e68a78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/(main)/websites/[websiteId]/WebsiteMetricsBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export function WebsiteMetricsBar({
change={uniques.change}
/>
<MetricCard
className={styles.card}
label={formatMessage(labels.bounceRate)}
value={uniques.value ? (num / uniques.value) * 100 : 0}
change={
Expand All @@ -65,7 +64,6 @@ export function WebsiteMetricsBar({
reverseColors
/>
<MetricCard
className={styles.card}
label={formatMessage(labels.averageVisitTime)}
value={
totaltime.value && pageviews.value
Expand Down
2 changes: 2 additions & 0 deletions src/components/metrics/MetricCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
font-weight: 700;
white-space: nowrap;
min-height: 60px;
color: var(--base900);
}

.label {
Expand All @@ -22,6 +23,7 @@
gap: 10px;
white-space: nowrap;
min-height: 30px;
color: var(--base800);
}

.change {
Expand Down

0 comments on commit 8e68a78

Please sign in to comment.