From 47939a5409a0eb18b088c37b011ca6a3c4920746 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 15 Sep 2024 00:50:02 +0000 Subject: feature(web): Add a compact layout. Fixes #379 --- apps/web/components/dashboard/ChangeLayout.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'apps/web/components/dashboard/ChangeLayout.tsx') diff --git a/apps/web/components/dashboard/ChangeLayout.tsx b/apps/web/components/dashboard/ChangeLayout.tsx index 7449bd2d..6ec38245 100644 --- a/apps/web/components/dashboard/ChangeLayout.tsx +++ b/apps/web/components/dashboard/ChangeLayout.tsx @@ -10,7 +10,13 @@ import { } from "@/components/ui/dropdown-menu"; import { useBookmarkLayout } from "@/lib/userLocalSettings/bookmarksLayout"; import { updateBookmarksLayout } from "@/lib/userLocalSettings/userLocalSettings"; -import { Check, LayoutDashboard, LayoutGrid, LayoutList } from "lucide-react"; +import { + Check, + LayoutDashboard, + LayoutGrid, + LayoutList, + List, +} from "lucide-react"; type LayoutType = "masonry" | "grid" | "list"; @@ -18,6 +24,7 @@ const iconMap = { masonry: LayoutDashboard, grid: LayoutGrid, list: LayoutList, + compact: List, }; export default function ChangeLayout() { -- cgit v1.2.3-70-g09d2