From b2328b50c69d033ee164973eb4cd913d55159fbc Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 27 Dec 2020 10:44:56 -0800 Subject: [PATCH] Fix checkbox design in file manager --- resources/scripts/components/elements/Input.tsx | 2 +- .../scripts/components/server/files/SelectFileCheckbox.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/scripts/components/elements/Input.tsx b/resources/scripts/components/elements/Input.tsx index 85b85e88e..c12792e8f 100644 --- a/resources/scripts/components/elements/Input.tsx +++ b/resources/scripts/components/elements/Input.tsx @@ -16,7 +16,7 @@ const light = css` `; const checkboxStyle = css` - ${tw`cursor-pointer appearance-none inline-block align-middle select-none flex-shrink-0 w-4 h-4 text-primary-400 border border-neutral-300 rounded-sm`}; + ${tw`bg-neutral-500 cursor-pointer appearance-none inline-block align-middle select-none flex-shrink-0 w-4 h-4 text-primary-400 border border-neutral-300 rounded-sm`}; color-adjust: exact; background-origin: border-box; transition: all 75ms linear, box-shadow 25ms linear; diff --git a/resources/scripts/components/server/files/SelectFileCheckbox.tsx b/resources/scripts/components/server/files/SelectFileCheckbox.tsx index cc4baafdd..62b93288a 100644 --- a/resources/scripts/components/server/files/SelectFileCheckbox.tsx +++ b/resources/scripts/components/server/files/SelectFileCheckbox.tsx @@ -6,7 +6,7 @@ import Input from '@/components/elements/Input'; export const FileActionCheckbox = styled(Input)` && { - ${tw`border-neutral-500`}; + ${tw`border-neutral-500 bg-transparent`}; &:not(:checked) { ${tw`hover:border-neutral-300`};