mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Merge pull request #762 from robertsspaceindustries/dev
Fix buttons still having the `cursor: pointer` property when disabled
This commit is contained in:
commit
869e0713c8
2 changed files with 1 additions and 2 deletions
|
@ -41,7 +41,7 @@ export function Button(props: Props) {
|
|||
props.padding ?? "px-4 py-3",
|
||||
props.className,
|
||||
colorClasses,
|
||||
props.disabled ? "cursor-not-allowed bg-opacity-60 text-opacity-60" : null,
|
||||
props.disabled ? "!cursor-not-allowed bg-opacity-60 text-opacity-60" : null,
|
||||
);
|
||||
|
||||
if (props.disabled)
|
||||
|
|
|
@ -5,7 +5,6 @@ import { Avatar } from "@/components/Avatar";
|
|||
import { Button } from "@/components/buttons/Button";
|
||||
import { ColorPicker, initialColor } from "@/components/form/ColorPicker";
|
||||
import { IconPicker, initialIcon } from "@/components/form/IconPicker";
|
||||
import { Icon, Icons } from "@/components/Icon";
|
||||
import {
|
||||
LargeCard,
|
||||
LargeCardButtons,
|
||||
|
|
Loading…
Reference in a new issue