summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon McConnell <brandon@dreamthinkbuild.com>2025-07-30 16:54:20 -0400
committerBrandon McConnell <brandon@dreamthinkbuild.com>2025-07-30 16:54:20 -0400
commitcd5642161b117fd5cb707cf9d405176459d9f37c (patch)
tree1af3f775b6449056e9500068b306a5e1b5835bb2
parent48282555e0732837bf226f7a7dea65c109e94dfa (diff)
downloadopencut-cd5642161b117fd5cb707cf9d405176459d9f37c.tar.gz
Swap background CSS inline style for tailwind utility
-rw-r--r--apps/web/src/components/editor/selection-box.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/web/src/components/editor/selection-box.tsx b/apps/web/src/components/editor/selection-box.tsx
index 0a97c6f8..ca9d799f 100644
--- a/apps/web/src/components/editor/selection-box.tsx
+++ b/apps/web/src/components/editor/selection-box.tsx
@@ -49,10 +49,7 @@ export function SelectionBox({
return (
<div
ref={selectionBoxRef}
- className="absolute pointer-events-none z-50"
- style={{
- backgroundColor: "hsl(var(--foreground) / 0.1)",
- }}
+ className="absolute pointer-events-none z-50 bg-foreground/10"
/>
);
}