Skip to content

Commit 985bfaf

Browse files
authored
fix: padding fixes for uui-combobox (#670)
1 parent 7f056aa commit 985bfaf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/uui-combobox-list/lib/uui-combobox-list-option.element.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ export class UUIComboboxListOptionElement extends SelectableMixin(
8585
:host {
8686
position: relative;
8787
cursor: pointer;
88-
margin: 0 6px;
88+
margin: 0 4px;
8989
border-radius: var(--uui-border-radius);
9090
outline: 2px solid transparent;
9191
outline-offset: -2px;
92+
padding-left: 4px;
9293
}
94+
9395
:host(:first-child) {
9496
margin-top: 6px;
9597
}
@@ -130,6 +132,7 @@ export class UUIComboboxListOptionElement extends SelectableMixin(
130132
color: var(--uui-color-disabled-contrast);
131133
background-color: var(--uui-color-disabled);
132134
}
135+
133136
:host([disabled]:hover) {
134137
background-color: var(--uui-color-disabled);
135138
}
@@ -142,6 +145,7 @@ export class UUIComboboxListOptionElement extends SelectableMixin(
142145
color: var(--uui-color-selected-contrast);
143146
background-color: var(--uui-color-selected);
144147
}
148+
145149
:host([selected]:hover) {
146150
color: var(--uui-color-selected-contrast);
147151
background-color: var(--uui-color-selected-emphasis);

0 commit comments

Comments
 (0)