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

Change subject: Column content style change: make it position: relative
......................................................................


Column content style change: make it position: relative

This helps position: absolute elements in page content not jumping to
random positions in the screen

For example, in Bug T89445, there is a coordinate element going to
top left corner of page because of position: absolute. This brings it
back to the column content area.

This is also in consistent with .mw-body-content style of core.
It has position: relative style

Bug: T89445
Change-Id: I54802f8a7c2398f111ea7a7114c6441429bcf92f
---
M modules/translationview/styles/ext.cx.translationview.less
1 file changed, 1 insertion(+), 0 deletions(-)

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



diff --git a/modules/translationview/styles/ext.cx.translationview.less 
b/modules/translationview/styles/ext.cx.translationview.less
index 2726f87..143bdf3 100644
--- a/modules/translationview/styles/ext.cx.translationview.less
+++ b/modules/translationview/styles/ext.cx.translationview.less
@@ -71,6 +71,7 @@
        .cx-column__content {
                clear: both;
                word-wrap: break-word;
+               position: relative;
        }
 }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I54802f8a7c2398f111ea7a7114c6441429bcf92f
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Pginer <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to