fix: certificate card delete button not reachable caused by overflow (#2037)
This commit is contained in:
@@ -59,10 +59,17 @@ export default async function CertificatesPage({ params }: CertificatesPageProps
|
|||||||
{x509Certificates.map((cert) => (
|
{x509Certificates.map((cert) => (
|
||||||
<Card key={cert.x509.fingerprint} withBorder>
|
<Card key={cert.x509.fingerprint} withBorder>
|
||||||
<Group wrap="nowrap">
|
<Group wrap="nowrap">
|
||||||
<IconCertificate color={getMantineColor(iconColor(cert.x509.validToDate), 6)} size={32} stroke={1.5} />
|
<IconCertificate
|
||||||
<Stack flex={1} gap="xs">
|
color={getMantineColor(iconColor(cert.x509.validToDate), 6)}
|
||||||
<Group justify="space-between">
|
style={{ minWidth: 32 }}
|
||||||
<Text fw={500}>{cert.x509.subject}</Text>
|
size={32}
|
||||||
|
stroke={1.5}
|
||||||
|
/>
|
||||||
|
<Stack flex={1} gap="xs" maw="calc(100% - 48px)">
|
||||||
|
<Group justify="space-between" wrap="nowrap">
|
||||||
|
<Text fw={500} lineClamp={1} style={{ wordBreak: "break-all" }}>
|
||||||
|
{cert.x509.subject}
|
||||||
|
</Text>
|
||||||
<Text c="gray.6" ta="end" size="sm">
|
<Text c="gray.6" ta="end" size="sm">
|
||||||
{cert.fileName}
|
{cert.fileName}
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user