Skip to content

Commit

Permalink
css fixes (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshreisner authored Dec 26, 2024
1 parent af944cd commit 61df4c0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

18 changes: 11 additions & 7 deletions src/styles/controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,22 @@ export const controlsGroupLastCss = css`
`;

export const controlsInputCss = css`
${formControlCss}
border: 1px solid ${color.medium};
&:focus {
border: 1px solid ${color.dark};
outline: none;
&[type='search'] {
${formControlCss}
border: 1px solid ${color.medium};
&:focus {
border: 1px solid ${color.dark};
outline: none;
}
}
`;

export const controlsInputFirstCss = css`
${controlsInputCss}
border-bottom-right-radius: 0 !important;
border-top-right-radius: 0 !important;
&[type='search'] {
border-bottom-right-radius: 0 !important;
border-top-right-radius: 0 !important;
}
`;

export const controlsSearchDropdownCss = css`
Expand Down
5 changes: 4 additions & 1 deletion src/styles/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ export const dropdownCss = css`
border-radius: var(--border-radius);
border: 1px solid ${color.medium};
margin-top: 4px;
max-height: 50vh;
min-width: 100%;
overflow: hidden;
overflow-x: hidden;
overflow-y: auto;
position: absolute;
z-index: 1000;
Expand All @@ -20,6 +22,7 @@ export const dropdownCss = css`
border: 0;
height: 1px;
margin: 0;
width: 100%;
}
button {
Expand Down

0 comments on commit 61df4c0

Please sign in to comment.