Design system spacing #95
Unanswered
IanDuncanson
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I presume you mean specifying a grid or snap points of some sorts and the final resize being constrained to those points? If so, then it absolutely would be achievable. I've added #96 to get the feature on my radar. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Allan, great library. In many modern design systems, content is laid out based on a common spacing model or grid (example here) so everything lines up nicely. Just wondered if it was possible to set up the resizing algorithms so they are "constrained" by simple rules (e.g. only resize to an 8 x 8 grid. Another example is with panes with table contents, you want to resize the pane so that a new row is added, so the constraint is based on the row heights of the contained table, rather than showing partial rows.
Cheers,
Ian
Beta Was this translation helpful? Give feedback.
All reactions