Skip to content

Commit 6876205

Browse files
committed
Patch: added workspace min height
1 parent 86ddd94 commit 6876205

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Designer: React.FC<ISTKProps> = (props) => {
3030

3131
const User: React.FC<ISTKProps> = (props) => {
3232
return (
33-
<div className="h-full flex flex-col relative">
33+
<div className="h-full min-h-[85vh] flex flex-col relative">
3434
<Workspace {...props} />
3535
</div>
3636
);

src/components/workspace/elements/booth.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { forwardRef } from "react";
22

33
export const boothSize = 39;
44

5-
const Booth = forwardRef(({ x, y, id, ...props }, ref) => {
5+
const Booth = forwardRef(({ id, x, y, ...props }, ref) => {
66
return <rect ref={ref} id={id} x={x} y={y} width={boothSize} height={boothSize} rx={5} ry={5} {...props} />;
77
});
88

0 commit comments

Comments
 (0)