Skip to content

Commit 9ac213a

Browse files
committed
fix(uui-select): make the inner select follow the height of the custom element
1 parent 4045c14 commit 9ac213a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/uui-select/lib/uui-select.element.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,14 @@ export class UUISelectElement extends FormControlMixin(LitElement) {
238238
display: inline-block;
239239
position: relative;
240240
font-family: inherit;
241+
height: var(--uui-select-height, var(--uui-size-11));
241242
}
242243
243244
#native {
244245
display: inline-block;
245246
font-family: inherit;
246247
font-size: var(--uui-select-font-size, var(--uui-size-5));
247-
height: var(--uui-select-height, var(--uui-size-11));
248+
height: inherit;
248249
width: 100%;
249250
padding: var(--uui-select-padding-y, var(--uui-size-1))
250251
var(--uui-select-padding-x, var(--uui-size-2));

0 commit comments

Comments
 (0)