Skip to content

Commit

Permalink
fix(dropdown): state disabled background color (#7461)
Browse files Browse the repository at this point in the history
  • Loading branch information
epodgaetskiy authored Dec 16, 2020
1 parent 164a006 commit 81aa04f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -10622,6 +10622,7 @@ $disabled-01: if(
- [accordion [mixin]](#accordion-mixin)
- [content-switcher [mixin]](#content-switcher-mixin)
- [date-picker [mixin]](#date-picker-mixin)
- [dropdown [mixin]](#dropdown-mixin)
- [file-uploader [mixin]](#file-uploader-mixin)
- [listbox [mixin]](#listbox-mixin)
- [number-input [mixin]](#number-input-mixin)
Expand Down Expand Up @@ -20553,6 +20554,7 @@ Dropdown styles
}

.#{$prefix}--dropdown--disabled {
background-color: $disabled-01;
border-bottom-color: transparent;

&:hover {
Expand Down Expand Up @@ -20703,6 +20705,7 @@ Dropdown styles
- [selected-ui [variable]](#selected-ui-variable)
- [text-02 [variable]](#text-02-variable)
- [decorative-01 [variable]](#decorative-01-variable)
- [disabled-01 [variable]](#disabled-01-variable)
- [disabled-02 [variable]](#disabled-02-variable)
- [carbon--spacing-07 [variable]](#carbon--spacing-07-variable)
- [carbon--spacing-04 [variable]](#carbon--spacing-04-variable)
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/components/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@
}

.#{$prefix}--dropdown--disabled {
background-color: $disabled-01;
border-bottom-color: transparent;

&:hover {
Expand Down

0 comments on commit 81aa04f

Please sign in to comment.