Amire80 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/181377
Change subject: Separate the category widget from the sub-heading
......................................................................
Separate the category widget from the sub-heading
This simplifies the styling of the sub-heading.
Change-Id: Ic792507aea00c4cdbd512bd7a5ee8d6c2e3bb2b1
---
M modules/tools/ext.cx.tools.categories.js
1 file changed, 2 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation
refs/changes/77/181377/1
diff --git a/modules/tools/ext.cx.tools.categories.js
b/modules/tools/ext.cx.tools.categories.js
index 9e5418c..b9fd6a9 100644
--- a/modules/tools/ext.cx.tools.categories.js
+++ b/modules/tools/ext.cx.tools.categories.js
@@ -681,7 +681,7 @@
// Load widgets for the source column
if ( column === 'source' ) {
$( 'div.cx-column--source > div.cx-column__sub-heading'
)
- .append(
categoryTool.widgets.source.counter.$view );
+ .after(
categoryTool.widgets.source.counter.$view );
$( 'div.cx-column--source > div.cx-column__content' )
.after(
categoryTool.widgets.source.listing.$view );
}
@@ -689,7 +689,7 @@
// Load widgets for the translation column
if ( column === 'translation' ) {
$( 'div.cx-column--translation >
div.cx-column__sub-heading' )
- .append(
categoryTool.widgets.target.counter.$view );
+ .after(
categoryTool.widgets.target.counter.$view );
$( 'div.cx-column--translation >
div.cx-column__content' )
.after(
categoryTool.widgets.target.listing.$view );
}
--
To view, visit https://gerrit.wikimedia.org/r/181377
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic792507aea00c4cdbd512bd7a5ee8d6c2e3bb2b1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits