From 5495b5c0a9da98c32e6a173c234b446d7b388285 Mon Sep 17 00:00:00 2001 From: alexsparkes Date: Sat, 22 Jun 2024 10:10:17 +0100 Subject: [PATCH] style: radio group --- .gitignore | 1 + bun.lockb | Bin 357485 -> 357485 bytes .../scss/settings/modules/tabs/_order.scss | 1 + src/components/Form/Settings/Radio/Radio.jsx | 4 ++-- 4 files changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 bun.lockb diff --git a/.gitignore b/.gitignore index b386e84e..51fac9f2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ node_modules/ extensions/ .idea/ dist/ +build/ # Files package-lock.json diff --git a/bun.lockb b/bun.lockb old mode 100644 new mode 100755 index 2b554d3dda99018c075ea8e65bbb201dbc919972..e0b56d79822a71d63ef3afa7ffff4d52cb0bdf65 GIT binary patch delta 37 tcmaF+LiFtm(S{br7N#xC%1z9MdIsConwVwwGn%$LJF;wdc4XBu1^^b|3~c}a delta 37 tcmaF+LiFtm(S{br7N#xC%1z7$dM4Y|nwVwwGn%wJJF;wdc4XBu1^^cf3~vAc diff --git a/src/components/Elements/MainModal/scss/settings/modules/tabs/_order.scss b/src/components/Elements/MainModal/scss/settings/modules/tabs/_order.scss index f9bfc556..6481c846 100644 --- a/src/components/Elements/MainModal/scss/settings/modules/tabs/_order.scss +++ b/src/components/Elements/MainModal/scss/settings/modules/tabs/_order.scss @@ -42,6 +42,7 @@ -webkit-padding-start: 0; padding: 0; list-style-type: none; + margin-top: 16px; } .images-row { diff --git a/src/components/Form/Settings/Radio/Radio.jsx b/src/components/Form/Settings/Radio/Radio.jsx index a06bf806..85e12c18 100644 --- a/src/components/Form/Settings/Radio/Radio.jsx +++ b/src/components/Form/Settings/Radio/Radio.jsx @@ -55,11 +55,11 @@ function Radio(props) { key={option.name} label={option.name} value={option.value} - className="group relative flex cursor-pointer rounded-lg bg-white/5 py-4 px-5 text-white shadow-md transition focus:outline-none data-[focus]:outline-1 data-[focus]:outline-white data-[checked]:bg-white/10" + className="data-[checked]:bg-white/10 group relative flex cursor-pointer rounded-lg bg-white/5 data-[checked]:hover:bg-neutral-700 hover:bg-neutral-700 py-4 px-5 text-white shadow-md transition focus:outline-none data-[focus]:outline-1 data-[focus]:outline-white" >
-

{option.name}

+

{option.name}

{option.subname}