Skip to content

Commit

Permalink
Merge pull request #4217 from nextcloud/fix/select-disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Pytal committed Jun 16, 2023
2 parents 6d755ea + 209a2df commit 95cdc79
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/NcSelect/NcSelect.vue
Expand Up @@ -955,11 +955,11 @@ body {
--vs-line-height: var(--default-line-height);
/* Disabled State */
--vs-state-disabled-bg: var(--color-background-dark);
--vs-state-disabled-bg: var(--color-background-hover);
--vs-state-disabled-color: var(--color-text-maxcontrast);
--vs-state-disabled-controls-color: var(--color-text-maxcontrast);
--vs-state-disabled-cursor: not-allowed;
--vs-disabled-bg: var(--color-background-dark);
--vs-disabled-bg: var(--color-background-hover);
--vs-disabled-color: var(--color-text-maxcontrast);
--vs-disabled-cursor: not-allowed;
Expand Down Expand Up @@ -1025,6 +1025,11 @@ body {
}
&.vs--disabled {
.vs__search,
.vs__selected {
color: var(--color-text-maxcontrast);
}
.vs__clear,
.vs__deselect {
display: none;
Expand Down

0 comments on commit 95cdc79

Please sign in to comment.