jenkins-bot has submitted this change and it was merged.

Change subject: Make sure that images are aligned correctly on wide screens
......................................................................


Make sure that images are aligned correctly on wide screens

Add noflip for tlfet and tright

Bug: 69141
Change-Id: I7e0c62c0420d74946bbe858176e1b60055a7bd57
---
M less/tablet/common.less
1 file changed, 8 insertions(+), 0 deletions(-)

Approvals:
  JGonera: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/less/tablet/common.less b/less/tablet/common.less
index 57f0efa..4575157 100644
--- a/less/tablet/common.less
+++ b/less/tablet/common.less
@@ -53,16 +53,24 @@
                padding: 1.6em @contentPaddingTablet 0 @contentPaddingTablet;
                // Classes added by thumbnails
                // e.g. [[File:Scholars mate 
animation.gif|frame|left|"[[Scholar's mate]]"]]
+               // We use @noflip because we still want .tleft to be on the 
left and
+               // .tright to be on the right in RTL languages.
                .thumb {
                        &.tleft {
+                               /* @noflip */
                                float: left;
+                               /* @noflip */
                                clear: left;
+                               /* @noflip */
                                margin-right: 1.4em;
                        }
 
                        &.tright {
+                               /* @noflip */
                                float: right;
+                               /* @noflip */
                                clear: right;
+                               /* @noflip */
                                margin-left: 1.4em;
                        }
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/151819
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7e0c62c0420d74946bbe858176e1b60055a7bd57
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>
Gerrit-Reviewer: Awjrichards <[email protected]>
Gerrit-Reviewer: Brion VIBBER <[email protected]>
Gerrit-Reviewer: JGonera <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to