- Issue created by @jurriaanroelofs
- Status changed to Postponed: needs info
10 months ago 12:37pm 9 June 2024 - 🇦🇺Australia VladimirAus Brisbane, Australia
It feels like it is Bootstrap issue.
I tried it here: https://codepen.io/VladimirAus/pen/zYQdWRw
When switching to an RTL language it seems that while Drupal core is loading RTL files, this theme keeps using LTR files, even though Bootstrap 5 supports RTL. Is there some extra step needed to make this work? Or is it not implemented in this theme.
1. Create a page with an RTL-compatible Bootstrap 5 class in it like:
<div class ="btn btn-primary float-end"><a href="#">Float-end button</a></div>
2. Translate page to RTL language like Arabic
Bug behavior: button keeps floating to the right side in Arabic (RTL) mode
Expected behavior: button floats to the left, because in bootstrap 5 RTL files float-end maps to float: left;
Postponed: needs info
3.0
Code
It feels like it is Bootstrap issue.
I tried it here: https://codepen.io/VladimirAus/pen/zYQdWRw