ui: make toolbar buttons icon-only with title tooltip (Bune practici, Notificari)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
AI Assistant
2026-03-11 08:52:12 +02:00
parent 9d58f1b705
commit f10a112de6
2 changed files with 7 additions and 8 deletions
@@ -81,12 +81,12 @@ export function NotificationPreferences() {
<> <>
<Button <Button
variant="ghost" variant="ghost"
size="sm" size="icon"
className="text-muted-foreground" className="h-8 w-8 text-muted-foreground"
title="Notificari"
onClick={() => setOpen(true)} onClick={() => setOpen(true)}
> >
<Bell className="mr-1.5 h-4 w-4" /> <Bell className="h-4 w-4" />
Notificari
</Button> </Button>
<Dialog open={open} onOpenChange={setOpen}> <Dialog open={open} onOpenChange={setOpen}>
@@ -362,12 +362,11 @@ export function RegistraturaModule() {
<> <>
<div className="flex items-center justify-between gap-4"> <div className="flex items-center justify-between gap-4">
<RegistryFilters filters={filters} onUpdate={updateFilter} /> <RegistryFilters filters={filters} onUpdate={updateFilter} />
<div className="flex items-center gap-2 shrink-0"> <div className="flex items-center gap-1.5 shrink-0">
<Popover> <Popover>
<PopoverTrigger asChild> <PopoverTrigger asChild>
<Button variant="ghost" size="sm" className="text-muted-foreground"> <Button variant="ghost" size="icon" className="h-8 w-8 text-muted-foreground" title="Bune practici">
<BookOpen className="mr-1.5 h-4 w-4" /> <BookOpen className="h-4 w-4" />
Bune practici
</Button> </Button>
</PopoverTrigger> </PopoverTrigger>
<PopoverContent side="bottom" align="end" className="w-96 p-0"> <PopoverContent side="bottom" align="end" className="w-96 p-0">