Skip to content

Commit

Permalink
web: tweak styles for filter term input field to align better with de…
Browse files Browse the repository at this point in the history
…sign (#4676)
  • Loading branch information
lizzthabet committed Jun 22, 2021
1 parent 19743b1 commit 66e60f9
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions web/src/OverviewActionBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,10 @@ const FilterTermTextField = styled(TextField)`
&:hover:not(.Mui-focused, .Mui-error) fieldset {
border: 1px solid ${Color.blue};
}
& .Mui-focused fieldset {
border: 1px solid ${Color.grayLighter};
outline: none;
&.Mui-focused fieldset {
border: 1px solid ${Color.grayLightest};
}
& .Mui-error fieldset {
&.Mui-error fieldset {
border: 1px solid ${Color.red};
}
& .MuiOutlinedInput-input {
Expand All @@ -297,6 +296,7 @@ const FieldErrorTooltip = styled.span`
align-items: center;
background-color: ${Color.grayDark};
box-sizing: border-box;
color: ${Color.red};
display: flex;
font-family: ${Font.monospace};
font-size: ${FontSize.smallest};
Expand All @@ -320,10 +320,6 @@ const FieldErrorTooltip = styled.span`
top: -8px;
width: 0;
}
.Mui-error {
color: ${Color.red};
}
`

const AlertIcon = styled(AlertSvg)`
Expand Down

0 comments on commit 66e60f9

Please sign in to comment.