mobile view 1 filter per line fix

This commit is contained in:
2026-05-24 14:51:59 +05:30
parent d767cf0a23
commit 7de8914283

View File

@@ -286,7 +286,7 @@ export default function FilterBar({
const raw = draft[fieldName]; const raw = draft[fieldName];
return ( return (
<Box key={fieldName} sx={{ display: "flex", flexDirection: "column", flex: 1, minWidth: { sm: 200 } }}> <Box key={fieldName} sx={{ display: "flex", flexDirection: "column", flex: { xs: '0 0 100%', sm: 1 }, minWidth: { sm: 200 } }}>
<Box sx={{ typography: "caption", mb: 0.5, color: "text.secondary" }}> <Box sx={{ typography: "caption", mb: 0.5, color: "text.secondary" }}>
{field.label} {field.label}
</Box> </Box>