Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
layout: Various fixes for RTL direction
* Use text-align 'initial' instead of 'left' where the intention is to undo text-align 'center'. This way it naturally becomes 'right' in RTL. > This fixes wrong text alignment of checkboxes in the settings. * Remove differing percentage 'left' and 'right' offsets from mw-rtrc-head. Make the head-links align using absolute position instead. And apply a text overflow from the main title in case of a narrow screen. This trick is borrowed from OOjs UI dialog title styles. > This fixes the tool head-links appearing on the wrong side in RTL. * Add a flipped version of the sidebar transform RTL. > This fixes a regression from b32d2be which caused the sidebar to expand in a way that overlaps the content in RTL (instead of going off-screen). This became worse when 2a2b360 made the sidebar hidden by default (and thus overlapping the content). This fixes the bug both for any flipped version of the stylesheet as well as when loading the original from Meta-Wiki directly. Restoring of the sidebar collapse/expand functionality is still broken when loading directly, but now works when using the flipped version. Fixes #50. Fixes #65.
- Loading branch information