Skip to content

Commit

Permalink
width correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Franlop7 committed Aug 9, 2024
1 parent 6a96c56 commit 145314e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/common/components/front-components/textarea-shape.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,17 @@ export const TextAreaShape = forwardRef<any, ShapeProps>(
<Rect
x={0}
y={0}
width={restrictedWidth + 10}
width={restrictedWidth}
height={restrictedHeight}
cornerRadius={5}
stroke="black"
strokeWidth={2}
fill="white"
/>

<Text
x={10}
y={10}
width={width}
width={width - 10}
height={height - 10}
text={text}
fontFamily="Comic Sans MS, cursive"
Expand Down

0 comments on commit 145314e

Please sign in to comment.