Skip to content

Commit

Permalink
Fix search field border bottom color in light mode (#97)
Browse files Browse the repository at this point in the history
* change placeholder

* amend translation

* fix same color in light mode

* Revert "amend translation"

This reverts commit 601be91.

* Revert "change placeholder"

This reverts commit 4818a6c.
  • Loading branch information
maruk0chan authored Dec 11, 2023
1 parent 210d47b commit ff106d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,12 @@ const searchRouteInputSx: SxProps<Theme> = {
"& input::before": {
borderBottom: (theme) => `1px ${theme.palette.text.primary} solid`,
},
"&.Mui-focused": {
"::after": {
borderBottomColor: ({ palette }) =>
palette.mode === "dark" ? palette.primary.main : palette.text.primary,
},
},
};

const funcPanelSx: SxProps<Theme> = {
Expand Down

0 comments on commit ff106d5

Please sign in to comment.