Merge pull request #2749 from bluewave-labs/fix/gap-select-components
Fix/gap select components
This commit is contained in:
5 files changed
+9
-8
No files matched your search
@@ -4,7 +4,6 @@ import {
|
|||||||
ListItem,
|
ListItem,
|
||||||
Autocomplete,
|
Autocomplete,
|
||||||
TextField,
|
TextField,
|
||||||
Stack,
|
|
||||||
Typography,
|
Typography,
|
||||||
Checkbox,
|
Checkbox,
|
||||||
} from "@mui/material";
|
} from "@mui/material";
|
||||||
@@ -33,7 +32,6 @@ const SearchAdornment = () => {
|
|||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
mr={theme.spacing(4)}
|
|
||||||
height={16}
|
height={16}
|
||||||
sx={{
|
sx={{
|
||||||
"& svg": {
|
"& svg": {
|
||||||
@@ -284,7 +282,9 @@ const Search = ({
|
|||||||
}}
|
}}
|
||||||
sx={{
|
sx={{
|
||||||
/* height: 34,*/
|
/* height: 34,*/
|
||||||
"&.MuiAutocomplete-root .MuiAutocomplete-input": { p: 0 },
|
"&.MuiAutocomplete-root .MuiAutocomplete-input": {
|
||||||
|
padding: `0 ${theme.spacing(5)}`,
|
||||||
|
},
|
||||||
...sx,
|
...sx,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ const Select = ({
|
|||||||
fill: theme.palette.primary.contrastTextTertiary,
|
fill: theme.palette.primary.contrastTextTertiary,
|
||||||
},
|
},
|
||||||
"& .MuiSelect-select": {
|
"& .MuiSelect-select": {
|
||||||
padding: "0 13px",
|
padding: "0",
|
||||||
minHeight: "34px",
|
minHeight: "34px",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ const SettingsTimeZone = ({ HEADING_SX, handleChange, timezone }) => {
|
|||||||
inputValue={rawInput}
|
inputValue={rawInput}
|
||||||
handleInputChange={(val) => setRawInput(val)}
|
handleInputChange={(val) => setRawInput(val)}
|
||||||
handleChange={handleTimezoneChange}
|
handleChange={handleTimezoneChange}
|
||||||
isAdorned={false}
|
isAdorned={true}
|
||||||
unit="timezone"
|
unit="timezone"
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ const TabSettings = ({
|
|||||||
inputValue={rawInput}
|
inputValue={rawInput}
|
||||||
handleInputChange={(newVal) => setRawInput(newVal)}
|
handleInputChange={(newVal) => setRawInput(newVal)}
|
||||||
handleChange={handleTimezoneChange}
|
handleChange={handleTimezoneChange}
|
||||||
isAdorned={false}
|
isAdorned={true}
|
||||||
unit="timezone"
|
unit="timezone"
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ const baseTheme = (palette) => ({
|
|||||||
},
|
},
|
||||||
|
|
||||||
"& .MuiInputBase-input.MuiOutlinedInput-input": {
|
"& .MuiInputBase-input.MuiOutlinedInput-input": {
|
||||||
padding: "0 var(--env-var-spacing-1-minus) !important",
|
padding: `0 ${theme.spacing(5)}`,
|
||||||
},
|
},
|
||||||
|
|
||||||
"& .MuiOutlinedInput-root": {
|
"& .MuiOutlinedInput-root": {
|
||||||
@@ -408,6 +408,7 @@ const baseTheme = (palette) => ({
|
|||||||
"& .MuiOutlinedInput-root": {
|
"& .MuiOutlinedInput-root": {
|
||||||
paddingTop: 0,
|
paddingTop: 0,
|
||||||
paddingBottom: 0,
|
paddingBottom: 0,
|
||||||
|
paddingRight: theme.spacing(5),
|
||||||
},
|
},
|
||||||
"& fieldset": {
|
"& fieldset": {
|
||||||
borderColor: theme.palette.primary.lowContrast,
|
borderColor: theme.palette.primary.lowContrast,
|
||||||
@@ -569,7 +570,7 @@ const baseTheme = (palette) => ({
|
|||||||
"&:hover .MuiOutlinedInput-notchedOutline": {
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
||||||
borderColor: theme.palette.primary.lowContrast,
|
borderColor: theme.palette.primary.lowContrast,
|
||||||
},
|
},
|
||||||
padding: "0 13px",
|
padding: `0 ${theme.spacing(5)}`,
|
||||||
minHeight: "34px",
|
minHeight: "34px",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
|
|||||||
Reference in new issue
Block a user