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') && ( )}