Skip to content

Commit

Permalink
#666 padding fixes for combobox
Browse files Browse the repository at this point in the history
  • Loading branch information
enkelmedia committed Nov 26, 2023
1 parent 9708ccb commit 2517ab9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,13 @@ export class UUIComboboxListOptionElement extends SelectableMixin(
:host {
position: relative;
cursor: pointer;
margin: 0 6px;
margin: 0 4px;
border-radius: var(--uui-border-radius);
outline: 2px solid transparent;
outline-offset: -2px;
padding-left: 4px;
}
:host(:first-child) {
margin-top: 6px;
}
Expand Down Expand Up @@ -130,6 +132,7 @@ export class UUIComboboxListOptionElement extends SelectableMixin(
color: var(--uui-color-disabled-contrast);
background-color: var(--uui-color-disabled);
}
:host([disabled]:hover) {
background-color: var(--uui-color-disabled);
}
Expand All @@ -142,6 +145,7 @@ export class UUIComboboxListOptionElement extends SelectableMixin(
color: var(--uui-color-selected-contrast);
background-color: var(--uui-color-selected);
}
:host([selected]:hover) {
color: var(--uui-color-selected-contrast);
background-color: var(--uui-color-selected-emphasis);
Expand Down

0 comments on commit 2517ab9

Please sign in to comment.