Skip to content

Commit

Permalink
fix: factor in border when setting viewport size
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Jan 10, 2025
1 parent 8a0b811 commit cc3b3b8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,18 @@
}

.PuckCanvas-inner {
box-sizing: border-box;
display: flex;
height: 100%;
justify-content: center;
min-width: 358px;
overflow: hidden;
position: relative;
width: 100%;
}

.PuckCanvas-root {
background: white;
border: 1px solid var(--puck-color-grey-09);
box-sizing: border-box;
box-sizing: content-box;
min-width: 321px;
position: absolute;
pointer-events: none;
Expand Down

0 comments on commit cc3b3b8

Please sign in to comment.