cuire / svelte-grid-extended

A draggable and resizable grid layout, for Svelte
https://svelte-grid-extended.vercel.app
MIT License
74 stars 8 forks source link

Fix grid item width and height calculation for correct spacing #82

Closed gitryder closed 2 months ago

gitryder commented 2 months ago

This PR

Problem:

The current formula used to calculate grid item width and height is incorrect:

Solution:

The formulas have been updated to correctly calculate the width and height of grid items:

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-grid-extended-bwyl ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 7:07pm