fixup db621b86: add .active class only to the block title
This commit is contained in:
parent
31941110e8
commit
a712d92b52
|
@ -333,7 +333,7 @@ function showFiltersStats() {
|
||||||
debounce(showFiltersStats, 100);
|
debounce(showFiltersStats, 100);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$('#filters').classList.toggle('active', filtersSelector.hide !== '');
|
$('#filters summary').classList.toggle('active', filtersSelector.hide !== '');
|
||||||
const numTotal = BG.cachedStyles.list.length;
|
const numTotal = BG.cachedStyles.list.length;
|
||||||
const numHidden = installed.getElementsByClassName('entry hidden').length;
|
const numHidden = installed.getElementsByClassName('entry hidden').length;
|
||||||
const numShown = Math.min(numTotal - numHidden, installed.children.length);
|
const numShown = Math.min(numTotal - numHidden, installed.children.length);
|
||||||
|
|
|
@ -811,8 +811,8 @@ input[id^="manage.newUI"] {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#filters:not(.active) #reset-filters,
|
#filters summary:not(.active) #reset-filters,
|
||||||
#filters:not(.active) #filters-stats {
|
#filters summary:not(.active) #filters-stats {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user