Add language dialog mislocated in RTL environment
Steps to reproduce
Variant 1
- Open options page
- Change
<html dir="ltr">
in desktop-options.html iFrame to<html dir="rtl">
- Click on "+ Add a language" button
Variant 2
- Use browser with RTL locale
- Open options page
- Click on "+ Add a language" button
Variant 3
- Run mock server
- Open desktop-options.html?locale=ar
- Click on "+ إضافة لغة" button
Observed behavior
Dialog opens outside of the viewport to its left.
Expected behavior
Dialog opens above the button as it does when using the options page in LTR locales.
Edited by Thomas Greiner