Skip to content

Open-source status page, incident response and uptime monitoring

fix: status page ui regression (#1550)

Maximilian Kaske58f20d308b81
diff --git a/apps/status-page/src/components/nav/header.tsx b/apps/status-page/src/components/nav/header.tsx
index f8accb120..be59245ed 100644
--- a/apps/status-page/src/components/nav/header.tsx
+++ b/apps/status-page/src/components/nav/header.tsx
@@ -92,7 +92,12 @@ export function Header(props: React.ComponentProps<"header">) {
{/* NOTE: same width as the `StatusUpdates` button */}
<div className="flex w-[150px] shrink-0">
<div className="flex items-center justify-center">
- <Button variant="outline" size="icon" className="size-8" asChild>
+ <Button
+ variant="outline"
+ size="icon"
+ className="size-8 overflow-hidden"
+ asChild
+ >
<Link
href={page?.homepageUrl || "/"}
target={page?.homepageUrl ? "_blank" : undefined}
diff --git a/apps/status-page/src/components/status-page/status-tracker.tsx b/apps/status-page/src/components/status-page/status-tracker.tsx
index bb435a4ff..0c39d5580 100644
--- a/apps/status-page/src/components/status-page/status-tracker.tsx
+++ b/apps/status-page/src/components/status-page/status-tracker.tsx
@@ -232,6 +232,7 @@ export function StatusTracker({ data }: { data: UptimeData }) {
<div
className={cn(
"group relative mx-px flex h-full w-full cursor-pointer flex-col rounded-full outline-none first:ml-0 last:mr-0 hover:opacity-80 focus-visible:opacity-80 focus-visible:ring-[2px] focus-visible:ring-ring/50 data-[aria-pressed=true]:opacity-80",
+ "rounded-full overflow-hidden",
)}
onClick={() => handleBarClick(index)}
onFocus={() => handleBarFocus(index)}