e-oj / Magic-Grid

A simple, lightweight Javascript library for dynamic grid layouts.
https://www.npmjs.com/package/magic-grid
MIT License
3.14k stars 144 forks source link

change direction from right to lef #49

Open kopiaman opened 3 years ago

kopiaman commented 3 years ago

is it possible to change direction? Because some content like arabic start from right to left.

RichBarratt commented 1 year ago

A workaround is to give the container you are targeting with magic-grid a class with direction: ltr; then for the items within the container give them a class with direction: rtl; I hope that helps.

e-oj commented 5 months ago

We're looking into supporting this in the next release