Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/app/(app)/relatorios/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ async function Reports({ searchParams }: Pick<PageProps<"/relatorios">, "searchP
<TableHead>Descrição</TableHead>
<TableHead>Início–fim</TableHead>
<TableHead className="text-right">Duração</TableHead>
{isAdmin && <TableHead className="w-10" />}
{isAdmin && <TableHead className="w-10">
<span className="sr-only">Ações</span>
</TableHead>}
</TableRow>
</TableHeader>
<TableBody>
Expand Down
5 changes: 3 additions & 2 deletions src/components/account-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ export function AccountMenu() {
return (
<Dialog open={open} onOpenChange={setOpen}>
<DialogTrigger asChild>
<Button variant="ghost" className="min-w-0 gap-2 px-2" aria-label="Conta e workspace">
<Button variant="ghost" className="min-w-0 gap-2 px-2">
<span className="hidden min-w-0 max-w-40 truncate text-sm sm:inline">{active.data?.name ?? ""}</span>
<span className="flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-xs font-semibold" aria-hidden>
<span className="flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-xs font-semibold">
{initials(user?.name, user?.email)}
</span>
<span className="sr-only">Conta e workspace</span>
</Button>
</DialogTrigger>
<DialogContent>
Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ function CardHeader({ className, ...props }: React.ComponentProps<"div">) {
return <div data-slot="card-header" className={cn("flex flex-col gap-1 p-5 pb-0", className)} {...props} />;
}

function CardTitle({ className, ...props }: React.ComponentProps<"h3">) {
return <h3 data-slot="card-title" className={cn("text-base font-semibold leading-none", className)} {...props} />;
function CardTitle({ className, ...props }: React.ComponentProps<"h2">) {
return <h2 data-slot="card-title" className={cn("text-base font-semibold leading-none", className)} {...props} />;
}

function CardDescription({ className, ...props }: React.ComponentProps<"p">) {
Expand Down
Loading