Skip to content

Commit 52d284f

Browse files
committed
fix: today overlaps on the months in uptime chart
1 parent 65b45cc commit 52d284f

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

apps/dashboard/app/status/[slug]/_components/monitor-row-interactive.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function MonitorRowInteractive({
8585
isActive
8686
stripClassName="flex h-8 w-full gap-px sm:gap-[2px]"
8787
/>
88-
<div className="relative mt-1.5 h-3.5">
88+
<div className="relative mt-1.5 h-3.5 w-full">
8989
{monthMarkers.map((marker) => (
9090
<span
9191
className="absolute -translate-x-1/2 text-[10px] text-muted-foreground"
@@ -95,9 +95,6 @@ export function MonitorRowInteractive({
9595
{marker.label}
9696
</span>
9797
))}
98-
<span className="absolute right-0 text-[10px] text-muted-foreground">
99-
Today
100-
</span>
10198
</div>
10299
</div>
103100
) : null}

apps/dashboard/lib/uptime/uptime-heatmap.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ export function UptimeHeatmap({
8686
stripClassName="flex h-16 w-full gap-[2px] sm:gap-1"
8787
/>
8888
)}
89-
90-
<div className="mt-2 flex justify-between text-[10px] text-muted-foreground">
91-
<span>{days} days ago</span>
92-
<span>Today</span>
93-
</div>
9489
</div>
9590
</>
9691
);

0 commit comments

Comments
 (0)