From a31de26f294d98c99b11e3f138f9197c89167805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=95=9C=EB=8F=99=ED=98=84?= <hando1220@ajou.ac.kr> Date: Mon, 19 May 2025 22:39:25 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=9D=B8=EC=A6=9D=EC=84=9C=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=8B=9C=EC=8A=A4?= =?UTF-8?q?=ED=85=9C=20=EC=9D=B8=EC=A6=9D=EC=84=9C=20=EC=8A=A4=ED=83=80?= =?UTF-8?q?=EC=9D=BC=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/certificate/List.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/pages/certificate/List.tsx b/src/pages/certificate/List.tsx index 5ae6088..5e4fae1 100644 --- a/src/pages/certificate/List.tsx +++ b/src/pages/certificate/List.tsx @@ -148,10 +148,8 @@ export default function CertificateList() { <TableRow key={certificate.id}> <TableCell> <HoverCard> - <HoverCardTrigger> - <span className={certificate.projectId !== selectedProject?.id ? 'italic' : ''}> - {certificate.domain} - </span> + <HoverCardTrigger className={certificate.projectId !== selectedProject?.id ? 'opacity-70' : ''}> + {certificate.domain} </HoverCardTrigger> <HoverCardContent className="w-80 whitespace-normal"> <div className="flex justify-between space-x-4"> @@ -176,9 +174,13 @@ export default function CertificateList() { </HoverCardContent> </HoverCard> </TableCell> - <TableCell>{certificate.email}</TableCell> - <TableCell>{certificate.expiresAt}</TableCell> - <TableCell> + <TableCell className={certificate.projectId !== selectedProject?.id ? 'opacity-70' : ''}> + {certificate.email} + </TableCell> + <TableCell className={certificate.projectId !== selectedProject?.id ? 'opacity-70' : ''}> + {certificate.expiresAt} + </TableCell> + <TableCell className={certificate.projectId !== selectedProject?.id ? 'opacity-70' : ''}> <div className="flex justify-center items-center gap-1"> {certificate.challenge === 'http' ? ( <Badge variant="secondary"> @@ -193,7 +195,7 @@ export default function CertificateList() { )} </div> </TableCell> - <TableCell> + <TableCell className={certificate.projectId !== selectedProject?.id ? 'opacity-70' : ''}> <div className="flex justify-center items-center gap-2"> <Button disabled={selectedProject?.role !== 'admin' || certificate.projectId !== selectedProject.id} -- GitLab