nathancahill / split

Unopinionated utilities for resizeable split views
https://split.js.org/
MIT License
6.1k stars 448 forks source link

Is there a way to make Split work without gaps/gutters? #789

Open growthwp opened 1 year ago

growthwp commented 1 year ago

Hey 👋, we have an use-case where gutters aren't needed, and quite problematic. If we had a grid with the 1fr 1fr 1fr layout, all we'd have to do for an item to span across the first cell is write grid-column: 1/2, however, if our layout was 1fr 10px 1fr 10px 1fr (as Split asks of us), suddenly, that'd change to grid-column: 1/3 if we wanted the same width.

Is there a way to make Split work without gaps/gutters?