From f6d09f4ba23695631acbac9c1a3fb2974bb09e7b Mon Sep 17 00:00:00 2001 From: Pujit Mehrotra Date: Thu, 10 Oct 2024 12:08:11 -0400 Subject: [PATCH] refactor(web): use tabs instead of buttons in NotificationsSidebar header --- web/components/Notifications/Item.vue | 2 +- web/components/Notifications/Sidebar.vue | 97 +++++++++++-------- .../shadcn/scroll-area/ScrollArea.vue | 29 ++++++ .../shadcn/scroll-area/ScrollBar.vue | 30 ++++++ web/components/shadcn/scroll-area/index.ts | 2 + 5 files changed, 120 insertions(+), 40 deletions(-) create mode 100644 web/components/shadcn/scroll-area/ScrollArea.vue create mode 100644 web/components/shadcn/scroll-area/ScrollBar.vue create mode 100644 web/components/shadcn/scroll-area/index.ts diff --git a/web/components/Notifications/Item.vue b/web/components/Notifications/Item.vue index f3b860f01..61997a402 100644 --- a/web/components/Notifications/Item.vue +++ b/web/components/Notifications/Item.vue @@ -34,7 +34,7 @@ const icon = computed<{ component: Component, color: string } | null>(() => {