Skip to content

Commit

Permalink
fix(dropdown): change cursor when disabled (#7024)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
emyarod and kodiakhq[bot] committed Oct 14, 2020
1 parent 9e09be4 commit bd49b42
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/components/src/components/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@

.#{$prefix}--dropdown--disabled {
border-bottom-color: transparent;
cursor: not-allowed;

&:hover {
background-color: $field-01;
Expand All @@ -376,6 +375,11 @@
}
}

.#{$prefix}--dropdown--disabled .#{$prefix}--list-box__field,
.#{$prefix}--dropdown--disabled .#{$prefix}--list-box__menu-icon {
cursor: not-allowed;
}

.#{$prefix}--dropdown--auto-width {
width: auto;
max-width: rem(400px);
Expand Down

0 comments on commit bd49b42

Please sign in to comment.