-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix select component bg in connection
- Loading branch information
1 parent
ae6f42a
commit 021e430
Showing
3 changed files
with
34 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Select, SelectProps, styled } from "@mui/material"; | ||
|
||
export const BaseStyledSelect = styled((props: SelectProps<string>) => { | ||
return ( | ||
<Select | ||
size="small" | ||
autoComplete="off" | ||
sx={{ | ||
width: 120, | ||
height: 33.375, | ||
mr: 1, | ||
'[role="button"]': { py: 0.65 }, | ||
}} | ||
{...props} | ||
/> | ||
); | ||
})(({ theme }) => ({ | ||
background: theme.palette.mode === "light" ? "#fff" : undefined, | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters