aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/ChangeLayout.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-09-15 00:50:02 +0000
committerMohamedBassem <me@mbassem.com>2024-09-15 00:50:02 +0000
commit47939a5409a0eb18b088c37b011ca6a3c4920746 (patch)
tree75a3f6e18ca94d1382080f8654724997adbc6f2e /apps/web/components/dashboard/ChangeLayout.tsx
parentf263f9e48a38d6b6f0132d8c6ea2a38a6d19d1b6 (diff)
downloadkarakeep-47939a5409a0eb18b088c37b011ca6a3c4920746.tar.zst
feature(web): Add a compact layout. Fixes #379
Diffstat (limited to 'apps/web/components/dashboard/ChangeLayout.tsx')
-rw-r--r--apps/web/components/dashboard/ChangeLayout.tsx9
1 files changed, 8 insertions, 1 deletions
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() {