From 5e03b8b60ff8eb43d395dddffee8e352e2054177 Mon Sep 17 00:00:00 2001 From: freedakgmail Date: Mon, 17 Aug 2026 20:13:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8A=B1=E5=90=8D=E5=86=8C=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=8C=89=E9=92=AE=E7=BC=A9=E5=B0=8F=EF=BC=88=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=20h-3.5=20+=20padding=20p-1=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/Roster.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/src/pages/Roster.tsx b/frontend/src/pages/Roster.tsx index b3914e8..7ca797e 100644 --- a/frontend/src/pages/Roster.tsx +++ b/frontend/src/pages/Roster.tsx @@ -965,14 +965,14 @@ export default function Roster() { type="button" title="调薪" aria-label={`为${e.name}调薪`} - className="rounded-md p-1.5 text-gray-500 transition hover:bg-primary/10 hover:text-primary" + className="rounded-md p-1 text-gray-500 transition hover:bg-primary/10 hover:text-primary" onClick={(ev) => { ev.stopPropagation() setSalaryEmployee(e) setShowSalaryModal(true) }} > - + {/* 试用期员工显示转正按钮 */} {e.probationInfo?.isProbation && ( @@ -980,28 +980,28 @@ export default function Roster() { type="button" title="转正" aria-label={`为${e.name}办理转正`} - className="rounded-md p-1.5 text-gray-500 transition hover:bg-primary/10 hover:text-primary" + className="rounded-md p-1 text-gray-500 transition hover:bg-primary/10 hover:text-primary" onClick={(ev) => { ev.stopPropagation() setConfirmEmployee(e) setShowConfirmModal(true) }} > - + )}
@@ -1009,7 +1009,7 @@ export default function Roster() { type="button" title="开具证明" aria-label={`为${e.name}开具证明`} - className="rounded-md p-1.5 text-gray-500 transition hover:bg-primary/10 hover:text-primary" + className="rounded-md p-1 text-gray-500 transition hover:bg-primary/10 hover:text-primary" onClick={(ev) => { ev.stopPropagation() setCertEmployee(e) @@ -1018,14 +1018,14 @@ export default function Roster() { setShowCertModal(true) }} > - + {(e.contractStatus === 'expiring' || e.contractStatus === 'expired') && ( )}