Refactor expense form and categories

-   Rename "지출 추가" to "지출 입력" in the add expense dialog.
-   Rename "교통비" to "교통" in categories and ensure all 4 icons are displayed on a single line.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-22 06:45:50 +00:00
parent c1a64ed711
commit 508eea9cde
5 changed files with 13 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ const ExpenseCategorySelector: React.FC<ExpenseCategorySelectorProps> = ({
<FormControl>
<ToggleGroup
type="single"
className="justify-start flex-wrap gap-2"
className="justify-between flex-nowrap gap-1"
value={value}
onValueChange={(value) => {
if (value) onValueChange(value);
@@ -27,7 +27,7 @@ const ExpenseCategorySelector: React.FC<ExpenseCategorySelectorProps> = ({
<ToggleGroupItem
key={category}
value={category}
className="px-4 py-2 rounded-md border flex items-center gap-2"
className="px-3 py-2 rounded-md border flex items-center gap-1"
>
<div className="text-neuro-income">
{categoryIcons[category]}