From 9a57cb44eed69a04f4e719da5759581336f0dc88 Mon Sep 17 00:00:00 2001 From: Vishesh 'ironeagle' Bangotra Date: Sun, 10 May 2026 20:04:52 +0530 Subject: [PATCH] ui fixes for filtering --- src/Dashboard.tsx | 50 ++++++++++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/src/Dashboard.tsx b/src/Dashboard.tsx index 2354645..1e5cecf 100644 --- a/src/Dashboard.tsx +++ b/src/Dashboard.tsx @@ -109,31 +109,41 @@ export default function Dashboard() { display: "flex", flexDirection: { xs: "column", sm: "row" }, gap: 2, - alignItems: { xs: "stretch", sm: "center" }, + alignItems: { xs: "stretch", sm: "flex-end" }, borderRadius: 4, mb: -2 // pull up to be closer to the dashboard container below }} elevation={0} variant="outlined" > - setPayeeInput(val as string[])} - renderInput={(params) => } - sx={{ minWidth: { sm: 250 }, flex: 1 }} - /> - setTagsInput(val as string[])} - renderInput={(params) => } - sx={{ minWidth: { sm: 250 }, flex: 1 }} - /> + + + Filter by Payee + + setPayeeInput(val as string[])} + renderInput={(params) => } + sx={{ '& .MuiOutlinedInput-root': { height: 'auto', minHeight: '2.5rem', py: 0.5 } }} + /> + + + + Filter by Tags + + setTagsInput(val as string[])} + renderInput={(params) => } + sx={{ '& .MuiOutlinedInput-root': { height: 'auto', minHeight: '2.5rem', py: 0.5 } }} + /> +