diff --git a/src/components/buttons/buttons.module.css b/src/components/buttons/buttons.module.css index 34f0e9a..7426058 100644 --- a/src/components/buttons/buttons.module.css +++ b/src/components/buttons/buttons.module.css @@ -25,8 +25,10 @@ line-height: 0; outline: none; - &:disabled { + &:disabled, + &.disabled { cursor: default; + opacity: 0.8; } & span { @@ -53,8 +55,10 @@ outline: none; transition: 0.2s; - &:disabled { + &:disabled, + &.disabled { cursor: default; + opacity: 0.8; } &.restore { diff --git a/src/components/buttons/buttons.tsx b/src/components/buttons/buttons.tsx index 8e879f8..720b18e 100644 --- a/src/components/buttons/buttons.tsx +++ b/src/components/buttons/buttons.tsx @@ -27,7 +27,7 @@ export function Buttons() { return (