summaryrefslogtreecommitdiff
path: root/apps/web/src/components/ui/draggable-item.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-31 13:39:47 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-31 13:39:47 +0200
commit6899450df9f460c8088527f3a06f49116f04a310 (patch)
treebc0aa6ce1a0e9afc02535661092e5167790488ef /apps/web/src/components/ui/draggable-item.tsx
parent10afbda9ddd3c4a7160a9ec381ee9ae5ebcf6a94 (diff)
parentcd5642161b117fd5cb707cf9d405176459d9f37c (diff)
downloadopencut-6899450df9f460c8088527f3a06f49116f04a310.tar.gz
Merge branch 'feat/tailwindcss-v4' into staging
Diffstat (limited to 'apps/web/src/components/ui/draggable-item.tsx')
-rw-r--r--apps/web/src/components/ui/draggable-item.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/web/src/components/ui/draggable-item.tsx b/apps/web/src/components/ui/draggable-item.tsx
index dfb4dce7..4c71e4b7 100644
--- a/apps/web/src/components/ui/draggable-item.tsx
+++ b/apps/web/src/components/ui/draggable-item.tsx
@@ -130,7 +130,7 @@ export function DraggableMediaItem({
typeof document !== "undefined" &&
createPortal(
<div
- className="fixed pointer-events-none z-[9999]"
+ className="fixed pointer-events-none z-9999"
style={{
left: dragPosition.x - 40, // Center the preview (half of 80px)
top: dragPosition.y - 40, // Center the preview (half of 80px)
@@ -139,7 +139,7 @@ export function DraggableMediaItem({
<div className="w-[80px]">
<AspectRatio
ratio={1}
- className="relative rounded-md overflow-hidden shadow-2xl ring ring-primary"
+ className="relative rounded-md overflow-hidden shadow-2xl ring-3 ring-primary"
>
<div className="w-full h-full [&_img]:w-full [&_img]:h-full [&_img]:object-cover [&_img]:rounded-none">
{preview}
@@ -179,7 +179,7 @@ function PlusButton({
}}
title={tooltipText}
>
- <Plus className="!size-3" />
+ <Plus className="size-3!" />
</Button>
);