Skip to content

Commit 037c101

Browse files
committed
select match other inputs
1 parent 1ee85ca commit 037c101

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/v2/components/forms/select/Select.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ export class Select extends LitElement {
5454
css`
5555
:host {
5656
/* default theme */
57-
display: inline-block;
57+
display: block;
58+
width: 100%;
59+
min-width: 0;
60+
max-width: 100%;
5861
position: relative;
5962
z-index: var(--select-z-index, 400);
6063
box-sizing: border-box;
@@ -86,7 +89,10 @@ export class Select extends LitElement {
8689
}
8790
8891
:host([theme='dark']) {
89-
display: inline-block;
92+
display: block;
93+
width: 100%;
94+
min-width: 0;
95+
max-width: 100%;
9096
position: relative;
9197
z-index: var(--select-z-index, 900);
9298
box-sizing: border-box;

0 commit comments

Comments
 (0)