Skip to content

Commit

Permalink
Patch: added workspace min height
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Feb 26, 2024
1 parent 86ddd94 commit 6876205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Designer: React.FC<ISTKProps> = (props) => {

const User: React.FC<ISTKProps> = (props) => {
return (
<div className="h-full flex flex-col relative">
<div className="h-full min-h-[85vh] flex flex-col relative">
<Workspace {...props} />
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/workspace/elements/booth.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { forwardRef } from "react";

export const boothSize = 39;

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

Expand Down

0 comments on commit 6876205

Please sign in to comment.