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

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(-)

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



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: merged
Gerrit-Change-Id: Ic792507aea00c4cdbd512bd7a5ee8d6c2e3bb2b1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Amire80 <amir.ahar...@mail.huji.ac.il>
Gerrit-Reviewer: Jsahleen <jsahl...@wikimedia.org>
Gerrit-Reviewer: Pginer <pgi...@wikimedia.org>
Gerrit-Reviewer: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to