mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-29 03:41:52 +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
@ -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 New Issue
Block a user