Mobile Dropdowns und Aktionen vereinheitlichen
All checks were successful
CI / Build and Deploy (push) Successful in 2m17s

This commit is contained in:
jan
2026-05-06 21:27:40 +02:00
parent 3e5ac7730d
commit 208520cff8
2 changed files with 124 additions and 9 deletions

View File

@@ -271,6 +271,31 @@ export function BudgetColumn({
const selectedBudget = group.budgets.find((budget) => budget.id === selectedBudgetId) ?? group.budgets[0] ?? null;
const visibleBudgets = isCompactLayout && selectedBudget ? [selectedBudget] : group.budgets;
const mobilePrimarySelectSx = {
width: "100%",
"& .MuiOutlinedInput-root": {
minHeight: 64,
borderRadius: "28px",
backgroundColor: alpha(theme.palette.background.paper, isDark ? 0.72 : 0.96),
"& fieldset": {
borderColor: alpha(theme.palette.primary.main, isDark ? 0.54 : 0.38)
},
"&:hover fieldset": {
borderColor: alpha(theme.palette.primary.main, 0.72)
},
"&.Mui-focused fieldset": {
borderWidth: 2,
borderColor: theme.palette.primary.main
}
},
"& .MuiInputLabel-root": {
color: theme.palette.text.secondary
},
"& .MuiInputBase-input": {
fontSize: "1.08rem",
fontWeight: 600
}
} as const;
return (
<Card
@@ -441,6 +466,7 @@ export function BudgetColumn({
value={selectedBudget?.id ?? ""}
onChange={(event) => setSelectedBudgetId(event.target.value)}
fullWidth
sx={mobilePrimarySelectSx}
>
{group.budgets.map((budget) => (
<MenuItem key={budget.id} value={budget.id}>