jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/382509 )
Change subject: Use clearfix on sections
......................................................................
Use clearfix on sections
...instead of trying to reset the float property of
an inevitably-incomplete list of floated elements.
Change-Id: I1d292cc05eb394694d50801e5de0e5da1074d8a1
---
M modules/ui/styles/mw.cx.ui.Columns.less
M modules/ve-cx/ce/styles/ve.ce.CXSectionNode.css
2 files changed, 6 insertions(+), 6 deletions(-)
Approvals:
jenkins-bot: Verified
Santhosh: Looks good to me, approved
diff --git a/modules/ui/styles/mw.cx.ui.Columns.less
b/modules/ui/styles/mw.cx.ui.Columns.less
index 52bdda2..b83874f 100644
--- a/modules/ui/styles/mw.cx.ui.Columns.less
+++ b/modules/ui/styles/mw.cx.ui.Columns.less
@@ -30,12 +30,6 @@
clear: both;
word-wrap: break-word;
position: relative;
-
- table,
- figure,
- figure[typeof*='mw:Image'] {
- float: none;
- }
}
.cx-column-language-label,
diff --git a/modules/ve-cx/ce/styles/ve.ce.CXSectionNode.css
b/modules/ve-cx/ce/styles/ve.ce.CXSectionNode.css
index 4761d19..4242212 100644
--- a/modules/ve-cx/ce/styles/ve.ce.CXSectionNode.css
+++ b/modules/ve-cx/ce/styles/ve.ce.CXSectionNode.css
@@ -1,3 +1,9 @@
+.ve-ce-cxSectionNode:after {
+ content: '';
+ clear: both;
+ display: block;
+}
+
/* Reset opacity of non-active sections */
.ve-ce-surface-enabled .ve-ce-cxSectionNode:not( .ve-ce-activeNode-active ) {
opacity: 1;
--
To view, visit https://gerrit.wikimedia.org/r/382509
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1d292cc05eb394694d50801e5de0e5da1074d8a1
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
Gerrit-Reviewer: Esanders <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits