MediaWiki:Common.css: Difference between revisions

From GCA ACT
Jump to navigationJump to search
 
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Hide "no subcategories" text in CategoryTree */
/* Hide "no subcategories" text in CategoryTree */
$(document).ready(function() {
$('.CategoryTreeItem a:has(+ ul .CategoryTreeEmptyBullet)').addClass('tree-nochildren');
});
tree-nochildren {
tree-nochildren {
     display: none;
     display: none; !important
}
}

Revision as of 16:25, 30 October 2023

/* CSS placed here will be applied to all skins */
/* Hide "no subcategories" text in CategoryTree */
$(document).ready(function() {
$('.CategoryTreeItem a:has(+ ul .CategoryTreeEmptyBullet)').addClass('tree-nochildren');
});
tree-nochildren {
    display: none; !important
}