Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
fix: prevent visual overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DerYeger committed Nov 23, 2022
1 parent d795d57 commit 5458f18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/masonry-wall.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ watch([columnWidth, gap], () => redraw())
'flex-basis': '0px',
'flex-direction': 'column',
'flex-grow': 1,
height: ['-webkit-max-content', '-moz-max-content', 'max-content'] as any,
gap: `${gap}px`,
height: ['-webkit-max-content', '-moz-max-content', 'max-content'] as any,
'min-width': 0
}"
>
<div v-for="itemIndex in column" :key="itemIndex" class="masonry-item">
Expand Down

0 comments on commit 5458f18

Please sign in to comment.