Skip to content

Commit

Permalink
style: Reduce peer summary spacing for better layout
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Dec 3, 2024
1 parent 252dcdd commit d306a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugo-site/layouts/shortcodes/summary-delta-sync/sync.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
});

// Adjust spacing based on screen size
const PEER_SPACING = window.innerWidth <= 768 ? 10 : 20;
const PEER_SPACING = window.innerWidth <= 768 ? 5 : 10;

// Position summary1 to the right of peer1
const summary1Left = (peer1Rect.right - containerRect.left) + PEER_SPACING;
Expand Down

0 comments on commit d306a8d

Please sign in to comment.