The open-source CapCut alternative
style: add hover effect to tabs
Maze Winthere5a5b76ece6c
diff --git a/apps/web/src/components/editor/media-panel/tabbar.tsx b/apps/web/src/components/editor/media-panel/tabbar.tsxindex a3733e4d..dcf5c8e7 100644--- a/apps/web/src/components/editor/media-panel/tabbar.tsx+++ b/apps/web/src/components/editor/media-panel/tabbar.tsx@@ -76,8 +76,8 @@ export function TabBar() {return (<divclassName={cn(- "flex flex-col gap-0.5 items-center cursor-pointer",- activeTab === tabKey ? "text-primary" : "text-muted-foreground"+ "flex flex-col gap-0.5 items-center cursor-pointer opacity-100 hover:opacity-75",+ activeTab === tabKey ? "text-primary !opacity-100" : "text-muted-foreground")}onClick={() => setActiveTab(tabKey)}key={tabKey}