<FormControl>
<Select
labelId="unique-label"
id="unique-id"
value={1}
className={styles.uniqueCustomSelectRoot}
IconComponent={() => <MyUniqueIcon />}
sx={{
".MuiOutlinedInput-notchedOutline": { border: 0},
paddingLeft: "10px",
paddingRight: "10px",
}}
>
<MenuItem value={1}>Option 1</MenuItem>
<MenuItem value={2}>Option 2</MenuItem>
<MenuItem value={3}>Option 3</MenuItem>
</Select>
</FormControl>
Looking for a way to adjust the default paddingRight in the Select component of a MUI button? It's currently set at 32px and I can't seem to change it.
I've attempted the following CSS code: "+ .MuiSelect-root .MuiSelect-select:focus": { padding: 0, }, but no changes were observed. Any suggestions?