From 9d83bda12cc16ed5796cd1c690634c759fb31b10 Mon Sep 17 00:00:00 2001 From: Mythie Date: Tue, 31 Dec 2024 11:55:49 +1100 Subject: [PATCH] fix: standardise checkboxes Checkboxes were previously styled super wonky due to the usage of checkboxClassName which styled the checkbox trigger. This change reverts all that and leaves it with sensible defaults across dark and light mode. --- .../_action-items/resend-document.tsx | 5 ++- .../templates/use-template-dialog.tsx | 1 - .../(signing)/sign/[token]/checkbox-field.tsx | 2 -- .../(teams)/dialogs/transfer-team-dialog.tsx | 35 ------------------- .../document/document-email-checkboxes.tsx | 7 ---- packages/ui/primitives/checkbox.tsx | 2 +- .../primitives/document-flow/add-fields.tsx | 1 - .../primitives/document-flow/add-signers.tsx | 2 -- .../advanced-fields/checkbox.tsx | 1 - .../checkbox-field.tsx | 5 ++- .../template-flow/add-template-fields.tsx | 1 - .../add-template-placeholder-recipients.tsx | 2 -- 12 files changed, 5 insertions(+), 59 deletions(-) diff --git a/apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx b/apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx index 54bc20b42..01b532887 100644 --- a/apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx +++ b/apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx @@ -155,8 +155,7 @@ export const ResendDocumentActionItem = ({ @@ -179,7 +178,7 @@ export const ResendDocumentActionItem = ({