mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-05 08:12:29 -08:00
More ui changes
This commit is contained in:
1 parent
c834661060
commit
ade2298a69
1 file changed
+10
-6
@@ -27,12 +27,16 @@ export function Radio<T extends FieldValues = FieldValues>({
|
||||
name={name}
|
||||
render={({ field: { onChange, ref, name, value: checked } }) => (
|
||||
<label
|
||||
className={classNames('w-full p-3 rounded-md flex gap-3 border-2', {
|
||||
'border-accent-background-30': value == checked,
|
||||
'border-transparent': value != checked,
|
||||
'bg-background-60 cursor-pointer hover:bg-background-50': !disabled,
|
||||
'bg-background-80 cursor-not-allowed': disabled,
|
||||
})}
|
||||
className={classNames(
|
||||
'w-full p-3 rounded-md flex gap-3 border-2 vr-button',
|
||||
{
|
||||
'border-accent-background-30': value == checked,
|
||||
'border-transparent': value != checked,
|
||||
'bg-background-60 cursor-pointer hover:bg-background-50':
|
||||
!disabled,
|
||||
'bg-background-80 cursor-not-allowed': disabled,
|
||||
}
|
||||
)}
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
|
||||
Reference in new issue
Block a user