mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 15:18:42 +08:00
chore: fix select component bg in connection
This commit is contained in:
1 parent
c97061770a
commit
4a67e1021a
3 files changed
+34
-31
No files matched your search
@@ -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,
|
||||
}));
|
||||
Reference in new issue
Block a user