Skip to content

Commit 481cd4c

Browse files
committed
Set boxSizing to border-box to match Phoebus behaviour
1 parent 5987410 commit 481cd4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui/widgets/Shape/shape.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const ShapeComponent = (
5454
borderRadius: cornerRadius,
5555
width: width,
5656
height: height,
57+
boxSizing: "border-box",
5758
backgroundColor: props.transparent
5859
? "transparent"
5960
: backgroundColor.toString(),

0 commit comments

Comments
 (0)