bubble-dev / _

🍱 metarepo of many packages and various monorepos
52 stars 6 forks source link

🌱 primitives/layout: layout can receive reverse as direction #202

Closed DonGideon closed 4 years ago

DonGideon commented 4 years ago

just an idea, currently it can be very useful for me in case like:

we want to have: icon - spacer - text but also: text - spacer - icon

WDYT?

Screenshot 2020-01-10 at 17 31 05
DonGideon commented 4 years ago

@deepsweet @xaviervia would love your opinion 🙌

deepsweet commented 4 years ago

I'd say that it's better to avoid such CSS magic. For example I'm not sure how does it work when it comes to a11y tab-order: it looks totally different from actual DOM and visual perspective.

xaviervia commented 4 years ago

Let's avoid adding flex options that can be achieved by other ways

DonGideon commented 4 years ago

@deepsweet @xaviervia thanks! agree!