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
variant="ghost"
size="sm"
className="text-muted-foreground"
size="icon"
className="h-8 w-8 text-muted-foreground"
title="Notificari"
onClick={() => setOpen(true)}
>
<Bell className="mr-1.5 h-4 w-4" />
Notificari
<Bell className="h-4 w-4" />
</Button>
<Dialog open={open} onOpenChange={setOpen}>
@@ -362,12 +362,11 @@ export function RegistraturaModule() {
<>
<div className="flex items-center justify-between gap-4">
<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>
<PopoverTrigger asChild>
<Button variant="ghost" size="sm" className="text-muted-foreground">
<BookOpen className="mr-1.5 h-4 w-4" />
Bune practici
<Button variant="ghost" size="icon" className="h-8 w-8 text-muted-foreground" title="Bune practici">
<BookOpen className="h-4 w-4" />
</Button>
</PopoverTrigger>
<PopoverContent side="bottom" align="end" className="w-96 p-0">