center code in email

This commit is contained in:
Milo Schwartz 2025-01-04 23:08:45 -05:00
parent da6cc09961
commit b96be3b649
No known key found for this signature in database
5 changed files with 50 additions and 6 deletions

View file

@ -2,7 +2,7 @@ import React from "react";
export default function CopyCodeBox({ text }: { text: string }) {
return (
<div className="flex items-center justify-center rounded-lg bg-neutral-100 p-2">
<div className="text-center rounded-lg bg-neutral-100 p-2">
<span className="text-2xl font-mono text-neutral-600 tracking-wide">
{text}
</span>