* Fix bug #48235.
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
#mainContent .side {overflow-x: hidden; padding-right: 4px;}
|
||||
#mainContent .main {overflow-x: hidden;}
|
||||
|
||||
#featureBar .nav-feature li:last-child {padding-left: 4px;}
|
||||
#featureBar .nav-feature li:nth-last-child(2):before {content: ""; position: absolute; left: 2px; top: 5px; right: 0; bottom: 5px; width: 1px; background-color: var(--color-gray-300);}
|
||||
#featureBar .nav-feature li.divider-before {padding-left: 4px;}
|
||||
#featureBar .nav-feature li.divider-before:before {content: ""; position: absolute; left: -1px; top: 5px; bottom: 5px; width: 1px; background-color: var(--color-gray-300);}
|
||||
|
||||
.filter-btn {padding-left: 0.625rem !important; padding-right: 0.625rem !important;}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ window.afterPageUpdate = function($target, info, options)
|
||||
}
|
||||
|
||||
window.addTitle2Star();
|
||||
window.addDivider();
|
||||
window.initFilterPanel();
|
||||
}
|
||||
|
||||
@@ -41,6 +42,13 @@ window.addTitle2Star = function()
|
||||
$('.metric-collect').attr('title', collectStar);
|
||||
}
|
||||
|
||||
window.addDivider = function()
|
||||
{
|
||||
let features = $('#featureBar .nav-feature').find('li.nav-item');
|
||||
let lastItem = features[features.length - 1];
|
||||
$(lastItem).addClass('divider-before');
|
||||
}
|
||||
|
||||
/* 事件处理函数。 */
|
||||
window.handleCheckboxChange = function($el)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user