From ed2ec66c47ff7c8e34e1907ea56d2a4e0b0e2f06 Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Fri, 27 Jun 2025 17:29:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20select=20box=20height=20of?= =?UTF-8?q?fset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/builder/src/features/graph/components/SelectBox.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/builder/src/features/graph/components/SelectBox.tsx b/apps/builder/src/features/graph/components/SelectBox.tsx index 01524a145..cc60b3d7c 100644 --- a/apps/builder/src/features/graph/components/SelectBox.tsx +++ b/apps/builder/src/features/graph/components/SelectBox.tsx @@ -1,4 +1,3 @@ -import { headerHeight } from "@/features/editor/constants"; import { Box } from "@chakra-ui/react"; import type { Coordinates } from "../types"; @@ -19,7 +18,7 @@ export const SelectBox = ({ origin, dimension }: Props) => ( bgColor="rgba(255, 214, 199, 0.1)" style={{ left: origin.x, - top: origin.y - headerHeight, + top: origin.y, width: dimension.width, height: dimension.height, }}