Open amitaibu opened 1 year ago
The problem is that on a fresh install the /ar
shows the En node, since there's no AR translation.
The direction of this EN node is LTR
However, we set the direction of the carousel based on the current language, not the current viewed node https://github.com/Gizra/drupal-starter/blob/8c0add6a2bfef5cb998e237bcf8b7f31857d2214/web/themes/custom/server_theme/src/js/slick-carousel.js#L92-L93
If we translate the node to AR, it works fine.
It seems to be related to the Slick carousel, as I can see the news for a sec, when moving to the next card