jenkins-bot has submitted this change and it was merged.
Change subject: Always use display: block for placeholders
......................................................................
Always use display: block for placeholders
We used to copy the display style property to placeholders.
But for tables, when we copy display: table, we cannot set
a minimum height and alignment goes wrong
Bug: T91379
Change-Id: I0881dcf5c119859ed075c03db89be094a6b3a7b7
---
M modules/translation/ext.cx.translation.aligner.js
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Amire80: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/translation/ext.cx.translation.aligner.js
b/modules/translation/ext.cx.translation.aligner.js
index aecaec3..91e6ad2 100644
--- a/modules/translation/ext.cx.translation.aligner.js
+++ b/modules/translation/ext.cx.translation.aligner.js
@@ -31,7 +31,7 @@
width: $sourceSection.width(),
'margin-top': $sourceSection.css( 'margin-top'
),
'margin-bottom': $sourceSection.css(
'margin-bottom' ),
- display: $sourceSection.css( 'display' ),
+ display: 'block',
float: $sourceSection.css( 'float' ),
clear: $sourceSection.css( 'clear' ),
position: $sourceSection.css( 'position' )
--
To view, visit https://gerrit.wikimedia.org/r/194072
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0881dcf5c119859ed075c03db89be094a6b3a7b7
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits