From 91f1bae3e9996b91568611447b1d6d8ea52e561e Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 4 May 2026 14:51:17 -0700 Subject: [PATCH] fix alignement in info sections --- src/components/CertificateStatus.tsx | 15 ++++++++------- src/components/CopyToClipboard.tsx | 2 +- src/components/InfoSection.tsx | 23 ++++++++++++++++++----- src/components/ResourceInfoBox.tsx | 14 ++++++++++---- 4 files changed, 37 insertions(+), 17 deletions(-) diff --git a/src/components/CertificateStatus.tsx b/src/components/CertificateStatus.tsx index cc22b1e88..788c39c21 100644 --- a/src/components/CertificateStatus.tsx +++ b/src/components/CertificateStatus.tsx @@ -31,8 +31,9 @@ export function CertificateStatusContent({ const t = useTranslations(); const labelClass = - "inline-flex shrink-0 items-center self-center text-sm font-medium leading-none"; - const valueClass = "inline-flex items-center gap-2 text-sm leading-none"; + "inline-flex shrink-0 items-center self-center text-sm font-medium leading-normal"; + const valueClass = + "inline-flex items-center gap-2 text-sm leading-normal"; const handleRefresh = async () => { await refreshCert(); @@ -133,14 +134,14 @@ export function CertificateStatusContent({ {isPending && !disableRestartButton ? ( @@ -164,7 +165,7 @@ export function CertificateStatusContent({ ) : null} diff --git a/src/components/CopyToClipboard.tsx b/src/components/CopyToClipboard.tsx index dca14728c..7187694f7 100644 --- a/src/components/CopyToClipboard.tsx +++ b/src/components/CopyToClipboard.tsx @@ -33,7 +33,7 @@ const CopyToClipboard = ({