fix: improve vertical alignment of text and plus icons in filter headers
Added flex alignment styles to MuiSelect-select class to ensure proper vertical alignment between text labels and plus icons in Type, Status, and State filter buttons on the Uptime page.
This commit is contained in:
1 parent
867b530573
commit
a6d445818f
1 file changed
+6
@@ -37,6 +37,12 @@ const FilterHeader = ({ header, options, value, onChange, multiple = true }) =>
|
|||||||
displayEmpty
|
displayEmpty
|
||||||
value={controlledValue}
|
value={controlledValue}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
|
sx={{
|
||||||
|
"& .MuiSelect-select": {
|
||||||
|
display: "flex",
|
||||||
|
alignItems: "center",
|
||||||
|
},
|
||||||
|
}}
|
||||||
renderValue={(selected) => {
|
renderValue={(selected) => {
|
||||||
if (!selected?.length) {
|
if (!selected?.length) {
|
||||||
return header;
|
return header;
|
||||||
|
|||||||
Reference in new issue
Block a user