mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-06-22 01:18:21 +02:00
* Separate settings items so layout is more consistent * Convert settings on mobile to drawer * Fix sizing on mobile and make scrollable * remove padding * Use dialog instead of popover * Don't focus on first item * Simpler tab fix
23 lines
493 B
TypeScript
23 lines
493 B
TypeScript
import {
|
|
Tooltip,
|
|
TooltipContent,
|
|
TooltipTrigger,
|
|
} from "@/components/ui/tooltip";
|
|
import { VscAccount } from "react-icons/vsc";
|
|
import { Button } from "../ui/button";
|
|
|
|
export default function AccountSettings() {
|
|
return (
|
|
<Tooltip>
|
|
<TooltipTrigger asChild>
|
|
<Button size="icon" variant="ghost">
|
|
<VscAccount />
|
|
</Button>
|
|
</TooltipTrigger>
|
|
<TooltipContent side="right">
|
|
<p>Account</p>
|
|
</TooltipContent>
|
|
</Tooltip>
|
|
);
|
|
}
|