mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-19 21:04:33 +08:00
🐛 adjust BlockCardLayout min height to avoid layout shift
This commit is contained in:
parent
16501cc57c
commit
417f33bc5d
@ -35,6 +35,7 @@ export const BlockCardLayout = ({
|
||||
rounded="lg"
|
||||
flex="1"
|
||||
cursor={"grab"}
|
||||
minH={isMouseDown ? "42px" : undefined}
|
||||
opacity={isMouseDown ? "0.4" : "1"}
|
||||
onMouseDown={handleMouseDown}
|
||||
bgColor={useColorModeValue("gray.50", "gray.850")}
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import { LockedIcon, UnlockedIcon } from "@/components/icons";
|
||||
import { useBlockDnd } from "@/features/graph/providers/GraphDndProvider";
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import {
|
||||
Fade,
|
||||
Flex,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user