Fix masonry gap

This commit is contained in:
Justin Edmund 2025-06-16 13:32:16 +01:00
parent f540aed895
commit 5bd4c40342
2 changed files with 1 additions and 2 deletions

View file

@ -15,7 +15,7 @@
// These values work well with our existing design
let minColWidth = 200 // Minimum column width in px
let maxColWidth = 400 // Maximum column width in px
let gap = 24 // Gap between items (equivalent to $unit-3x)
let gap = 16 // Gap between items (equivalent to $unit-2x)
// On tablet/phone, we want larger minimum widths
let windowWidth = $state(0)

View file

@ -88,7 +88,6 @@
<style lang="scss">
.photo-item {
break-inside: avoid;
margin-bottom: $unit-3x;
@include breakpoint('tablet') {
margin-bottom: $unit-2x;