This way, when the language is written form right-to-left, elements using Foundation mixins/classes will float to the opposite direction as they do in left-to-right languages. The same will apply to text alignment. To offer full support for RTL languages, we need to change every single reference to `float: left`, `float: right`, `text-align: left`, `text-align: right`, and possible adjust other properties like `left`, `margin-left`, `padding-left` or `border-left`. In the meantime, we at least partially support these languages. Replacing `float` with `flex` when possible would also improve RTL support.
4 lines
53 B
SCSS
4 lines
53 B
SCSS
$global-text-direction: rtl;
|
|
|
|
@import "application";
|