summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/media-panel
diff options
context:
space:
mode:
authorBrandon McConnell <brandon@dreamthinkbuild.com>2025-07-30 13:15:09 -0400
committerBrandon McConnell <brandon@dreamthinkbuild.com>2025-07-30 13:15:09 -0400
commitdf1e80b5287ff71867bad1a1bfebb102cef7d5bf (patch)
tree2384e04490dd71a72cbf135c366012f74b71c0ca /apps/web/src/components/editor/media-panel
parent1c20027d33bcf303d6a9b40970cd8216c489f0d5 (diff)
downloadopencut-df1e80b5287ff71867bad1a1bfebb102cef7d5bf.tar.gz
Lay groundwork for Tailwind v4 upgrade
Diffstat (limited to 'apps/web/src/components/editor/media-panel')
-rw-r--r--apps/web/src/components/editor/media-panel/tabbar.tsx6
-rw-r--r--apps/web/src/components/editor/media-panel/views/media.tsx2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/src/components/editor/media-panel/tabbar.tsx b/apps/web/src/components/editor/media-panel/tabbar.tsx
index bce84a46..92482559 100644
--- a/apps/web/src/components/editor/media-panel/tabbar.tsx
+++ b/apps/web/src/components/editor/media-panel/tabbar.tsx
@@ -82,7 +82,7 @@ export function TabBar() {
onClick={() => setActiveTab(tabKey)}
key={tabKey}
>
- <tab.icon className="!size-[1.1rem]" />
+ <tab.icon className="size-[1.1rem]!" />
<span className="text-[0.65rem]">{tab.label}</span>
</div>
);
@@ -114,10 +114,10 @@ function ScrollButton({
<div className="bg-panel-accent w-12 h-full flex items-center justify-center">
<Button
size="icon"
- className="rounded-[0.4rem] w-4 h-7 !bg-foreground/10"
+ className="rounded-[0.4rem] w-4 h-7 bg-foreground/10!"
onClick={onClick}
>
- <Icon className="!size-4 text-foreground" />
+ <Icon className="size-4! text-foreground" />
</Button>
</div>
);
diff --git a/apps/web/src/components/editor/media-panel/views/media.tsx b/apps/web/src/components/editor/media-panel/views/media.tsx
index f218dc14..d1533736 100644
--- a/apps/web/src/components/editor/media-panel/views/media.tsx
+++ b/apps/web/src/components/editor/media-panel/views/media.tsx
@@ -169,7 +169,7 @@ export function MediaView() {
if (item.type === "audio") {
return (
- <div className="w-full h-full bg-gradient-to-br from-green-500/20 to-emerald-500/20 flex flex-col items-center justify-center text-muted-foreground rounded border border-green-500/20">
+ <div className="w-full h-full bg-linear-to-br from-green-500/20 to-emerald-500/20 flex flex-col items-center justify-center text-muted-foreground rounded border border-green-500/20">
<Music className="h-6 w-6 mb-1" />
<span className="text-xs">Audio</span>
{item.duration && (