You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an idea I got when exploring how to align things in nimiSlides (HugoGranstrom/nimiSlides#8), what if nimib could support a convenient flexbox API so different layouts easily could be created with a DSL. I don't have any specific ideas for how to do this at the moment, just wanted to make sure I didn't forget about this. It was ages since I used flexbox but I imagine the API looking something like this:
nbFlexColumn:
nbImage(...)
nbImage(...)
nbColumnWrap:
nbText: "Image description"nbImage(...) # if both text and image won't fit wrap to next row
I might be underestimating the complexity of flexbox though 😅
The text was updated successfully, but these errors were encountered:
This is an idea I got when exploring how to align things in nimiSlides (HugoGranstrom/nimiSlides#8), what if nimib could support a convenient flexbox API so different layouts easily could be created with a DSL. I don't have any specific ideas for how to do this at the moment, just wanted to make sure I didn't forget about this. It was ages since I used flexbox but I imagine the API looking something like this:
I might be underestimating the complexity of flexbox though 😅
The text was updated successfully, but these errors were encountered: