Skip to content

Commit 61df4c0

Browse files
authored
css fixes (#431)
1 parent af944cd commit 61df4c0

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/styles/controls.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,22 @@ export const controlsGroupLastCss = css`
5959
`;
6060

6161
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+
}
6769
}
6870
`;
6971

7072
export const controlsInputFirstCss = css`
7173
${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+
}
7478
`;
7579

7680
export const controlsSearchDropdownCss = css`

src/styles/dropdown.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ export const dropdownCss = css`
1010
border-radius: var(--border-radius);
1111
border: 1px solid ${color.medium};
1212
margin-top: 4px;
13+
max-height: 50vh;
1314
min-width: 100%;
14-
overflow: hidden;
15+
overflow-x: hidden;
16+
overflow-y: auto;
1517
position: absolute;
1618
z-index: 1000;
1719
@@ -20,6 +22,7 @@ export const dropdownCss = css`
2022
border: 0;
2123
height: 1px;
2224
margin: 0;
25+
width: 100%;
2326
}
2427
2528
button {

0 commit comments

Comments
 (0)