javascript
javascript copied to clipboard
Mobile snippet preview: favicon wrong margin with RTL languages
Explanation
Noticed while working on https://github.com/Yoast/javascript/pull/345. The favicon in the Mobile snippet preview is misplaced on RTL:
The image margin needs to be swapped on RTL.
To reproduce:
- either press the "Change language direction" on the standalone demo app on http://0.0.0.0:3333/
- or link the monorepo to the plugin in WordPress and set a RTL language in the admin