Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cuire/svelte-grid-extended
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0
Choose a base ref
...
head repository: cuire/svelte-grid-extended
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.1
Choose a head ref
  • 4 commits
  • 4 files changed
  • 3 contributors

Commits on Jun 1, 2024

  1. 🐚 Fix grid item width and height calculation for correct spacing (#82)

    - Correct the formula for calculating grid item width to account for total gaps:
      (width - (_cols + 1) * gap) / _cols
    - Correct the formula for calculating grid item height to account for total gaps:
      (height - (_rows + 1) * gap) / _rows
    
    This fixes the issue where extra space appears on the right and bottom sides
    of the grid when grid cols or grid rows values differ from the grid gap value,
    ensuring even spacing throughout the grid.
    gitryder authored Jun 1, 2024
    Configuration menu
    Copy the full SHA
    0d31f75 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65110dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0da72f View commit details
    Browse the repository at this point in the history
  4. 🐚 1.2.1

    cuire committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    1728bbe View commit details
    Browse the repository at this point in the history
Loading