File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -59,18 +59,22 @@ export const controlsGroupLastCss = css`
59
59
` ;
60
60
61
61
export const controlsInputCss = css `
62
- ${ formControlCss }
63
- border : 1px solid ${ color . medium } ;
64
- & : focus {
65
- border : 1px solid ${ color . dark } ;
66
- outline : none;
62
+ & [type = 'search' ] {
63
+ ${ formControlCss }
64
+ border : 1px solid ${ color . medium } ;
65
+ & : focus {
66
+ border : 1px solid ${ color . dark } ;
67
+ outline : none;
68
+ }
67
69
}
68
70
` ;
69
71
70
72
export const controlsInputFirstCss = css `
71
73
${ controlsInputCss }
72
- border-bottom-right-radius : 0 !important ;
73
- border-top-right-radius : 0 !important ;
74
+ & [type = 'search' ] {
75
+ border-bottom-right-radius : 0 !important ;
76
+ border-top-right-radius : 0 !important ;
77
+ }
74
78
` ;
75
79
76
80
export const controlsSearchDropdownCss = css `
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ export const dropdownCss = css`
10
10
border-radius : var (--border-radius );
11
11
border : 1px solid ${ color . medium } ;
12
12
margin-top : 4px ;
13
+ max-height : 50vh ;
13
14
min-width : 100% ;
14
- overflow : hidden;
15
+ overflow-x : hidden;
16
+ overflow-y : auto;
15
17
position : absolute;
16
18
z-index : 1000 ;
17
19
@@ -20,6 +22,7 @@ export const dropdownCss = css`
20
22
border : 0 ;
21
23
height : 1px ;
22
24
margin : 0 ;
25
+ width : 100% ;
23
26
}
24
27
25
28
button {
You can’t perform that action at this time.
0 commit comments