Enhances account display in expense form
Improves the visual presentation of the selected account in the add expense form by using a badge. This makes the selected account more prominent and provides a clearer distinction from other text elements.
This commit is contained in:
parent
fff42d170e
commit
d7cd72f850
1 changed files with 5 additions and 3 deletions
|
|
@ -161,9 +161,10 @@
|
|||
|
||||
<!-- Selected account info -->
|
||||
<div class="p-3 rounded-lg bg-muted/50">
|
||||
<p class="text-sm font-medium text-foreground mb-1">
|
||||
Account: {{ selectedAccount?.name }}
|
||||
</p>
|
||||
<div class="flex items-center gap-2 mb-1">
|
||||
<span class="text-sm text-muted-foreground">Account:</span>
|
||||
<Badge variant="secondary" class="font-mono">{{ selectedAccount?.name }}</Badge>
|
||||
</div>
|
||||
<p
|
||||
v-if="selectedAccount?.description"
|
||||
class="text-xs text-muted-foreground"
|
||||
|
|
@ -212,6 +213,7 @@ import { Button } from '@/components/ui/button'
|
|||
import { Input } from '@/components/ui/input'
|
||||
import { Textarea } from '@/components/ui/textarea'
|
||||
import { Checkbox } from '@/components/ui/checkbox'
|
||||
import { Badge } from '@/components/ui/badge'
|
||||
import {
|
||||
FormControl,
|
||||
FormDescription,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue