mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
chore: clean up classNames
This commit is contained in:
parent
e46ca23516
commit
ed451763ed
1 changed files with 3 additions and 3 deletions
|
@ -83,9 +83,9 @@ export function PreferencesPart(props: {
|
||||||
}
|
}
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"bg-dropdown-background hover:bg-dropdown-hoverBackground select-none my-4 cursor-pointer space-x-3 flex items-center max-w-[25rem] py-3 px-4 rounded-lg",
|
"bg-dropdown-background hover:bg-dropdown-hoverBackground select-none my-4 cursor-pointer space-x-3 flex items-center max-w-[25rem] py-3 px-4 rounded-lg",
|
||||||
allowAutoplay ? "cursor-pointer" : "cursor-not-allowed",
|
allowAutoplay
|
||||||
allowAutoplay ? "opacity-100" : "opacity-50",
|
? "cursor-pointer opacity-100 pointer-events-auto"
|
||||||
allowAutoplay ? "pointer-events-auto" : "pointer-events-none",
|
: "cursor-not-allowed opacity-50 pointer-events-none",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Toggle enabled={props.enableAutoplay && allowAutoplay} />
|
<Toggle enabled={props.enableAutoplay && allowAutoplay} />
|
||||||
|
|
Loading…
Reference in a new issue