diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-08-01 19:57:26 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-08-01 19:57:26 +0200 |
| commit | 68da487f304018b6e8d06459def8fb45514ab7d4 (patch) | |
| tree | b20bd61558254b358e298554ecde005f498b17b3 /apps/web/src/components/editor/media-panel/index.tsx | |
| parent | 09cb8c8d984e3e82f60e28b352508c876423fbdf (diff) | |
| download | opencut-68da487f304018b6e8d06459def8fb45514ab7d4.tar.gz | |
style: complete re-design of whole editor
Diffstat (limited to 'apps/web/src/components/editor/media-panel/index.tsx')
| -rw-r--r-- | apps/web/src/components/editor/media-panel/index.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/web/src/components/editor/media-panel/index.tsx b/apps/web/src/components/editor/media-panel/index.tsx index 359612f8..a5cd6686 100644 --- a/apps/web/src/components/editor/media-panel/index.tsx +++ b/apps/web/src/components/editor/media-panel/index.tsx @@ -5,6 +5,7 @@ import { MediaView } from "./views/media"; import { useMediaPanelStore, Tab } from "./store"; import { TextView } from "./views/text"; import { AudioView } from "./views/audio"; +import { Separator } from "@/components/ui/separator"; export function MediaPanel() { const { activeTab } = useMediaPanelStore(); @@ -46,9 +47,10 @@ export function MediaPanel() { }; return ( - <div className="h-full flex flex-col bg-panel rounded-sm"> + <div className="h-full flex bg-panel"> <TabBar /> - <div className="flex-1 overflow-y-auto">{viewMap[activeTab]}</div> + <Separator orientation="vertical" /> + <div className="flex-1 overflow-hidden">{viewMap[activeTab]}</div> </div> ); } |
