Skip to content

Commit

Permalink
fix: add pointer cursor to toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
chasturansky authored and jkusa committed Apr 15, 2021
1 parent 145c093 commit 9b8a91b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/denali-components.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/denali.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions scss/components/toggle.scss
Expand Up @@ -94,13 +94,18 @@ $toggle-inverse-active-bg-color: transparent !default;
}

&:hover {
cursor: pointer;
color: $toggle-text-hover-color;
}

&.is-disabled,
&:disabled {
cursor: not-allowed;
color: $toggle-disabled-text-color;

> * {
cursor: not-allowed;
}
}

&:first-of-type {
Expand Down

0 comments on commit 9b8a91b

Please sign in to comment.