Skip to content

Open-source status page, incident response and uptime monitoring

fix Styling issue with copy to clipboard button on single code lines #947 (#951)

Ratnadeep41fafd462ac2
diff --git a/apps/web/src/components/content/pre.tsx b/apps/web/src/components/content/pre.tsx
index 4895e9b52..e50df2d9c 100644
--- a/apps/web/src/components/content/pre.tsx
+++ b/apps/web/src/components/content/pre.tsx
@@ -35,7 +35,7 @@ export default function Pre({ children, ...props }: PreProps) {
<Button
variant="outline"
size="icon"
- className="absolute top-4 right-4"
+ className="absolute top-2 right-2"
onClick={onClick}
>
{!copied ? (