diff --git a/src/components/Setting.tsx b/src/components/Setting.tsx index f9c7f9a..002a1b9 100644 --- a/src/components/Setting.tsx +++ b/src/components/Setting.tsx @@ -12,7 +12,7 @@ export function Setting ({ disabled }: SettingProps) { return ( -
+
onChange(!value)} /> - {value && } + {value && }
) diff --git a/src/styles/setting.css b/src/styles/setting.css index 1fc1153..f18d03b 100644 --- a/src/styles/setting.css +++ b/src/styles/setting.css @@ -5,13 +5,13 @@ } .setting-checkbox { - @apply appearance-none w-full h-full border-2 border-(--col4) rounded-md bg-(--col2) transition-colors cursor-pointer; + @apply appearance-none w-full h-full border border-(--col4) rounded-sm bg-(--col2) transition-colors cursor-pointer; } .setting-checkbox:checked { @apply bg-(--col4) border-(--col6); } -.fa-check-icon { - @apply absolute top-1/2 left-1/2 text-white text-[11px] pointer-events-none -translate-x-2/4 -translate-y-2/4; +.setting-checkbox-wrapper svg { + @apply absolute top-1/2 left-1/2 text-white text-[12px] pointer-events-none -translate-x-2/4 -translate-y-2/4; }