remove floof

This commit is contained in:
1ilit 2023-09-19 15:49:02 +03:00
parent 9e5e1c808e
commit b954a2b46f

View File

@ -16,23 +16,8 @@ function Table() {
ref={drag} ref={drag}
className={`${ className={`${
isDragging ? "opacity-50" : "" isDragging ? "opacity-50" : ""
} cursor-move w-[150px] h-[72px]`} } cursor-move w-[136px] h-[72px] border border-gray-400 rounded-md text-xs border-collapse bg-gray-100`}
> >
<svg
style={{
width: "100%",
height: "100%",
}}
>
<foreignObject
x={0}
y={0}
style={{
width: "100%",
height: "100%",
}}
>
<div className="border border-gray-400 w-full rounded-md h-full text-xs border-collapse bg-gray-100">
<div <div
className={`h-[7px] w-full rounded-t`} className={`h-[7px] w-full rounded-t`}
style={{ backgroundColor: defaultTableTheme }} style={{ backgroundColor: defaultTableTheme }}
@ -55,9 +40,6 @@ function Table() {
<div className="text-slate-400">VARCHAR</div> <div className="text-slate-400">VARCHAR</div>
</div> </div>
</div> </div>
</foreignObject>
</svg>
</div>
); );
} }