]> git.ardis.lu - minimal-masonry/commit
Make more consistent gap sizes
authorArdis Lu <ardisglu@gmail.com>
Mon, 26 Aug 2024 04:06:16 +0000 (21:06 -0700)
committerArdis Lu <ardisglu@gmail.com>
Mon, 26 Aug 2024 04:06:16 +0000 (21:06 -0700)
commit997b87c75a12597d23517f022b633b642d71c87a
tree5caf29bb1b56849a3756ac34bafa77bb900176c5
parenta4b753a51f9f7f29e0a7a4d7c312a368a2c220da
Make more consistent gap sizes

Border-box sizing plus rounding the height to a multiple of gridRowHeight ensures the grid row span exactly fits the div, which results in more consistent gaps.
index.html
This page took 0.038468 seconds and 4 git commands to generate.