🐛 Fix select box height offset

This commit is contained in:
Baptiste Arnaud 2025-06-27 17:29:01 +02:00
parent 75fb6e50f8
commit ed2ec66c47
No known key found for this signature in database

View File

@ -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,
}}