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:
gorkem-bwl committed 2025-08-14 20:15:56 -04:00
1 parent 867b530573
commit a6d445818f
1 file changed
+6
@@ -37,6 +37,12 @@ const FilterHeader = ({ header, options, value, onChange, multiple = true }) =>
displayEmpty
value={controlledValue}
onChange={onChange}
sx={{
"& .MuiSelect-select": {
display: "flex",
alignItems: "center",
},
}}
renderValue={(selected) => {
if (!selected?.length) {
return header;