mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 05:03:21 +00:00
Fixed error in Firefox and selected button style
This commit is contained in:
parent
f71039ae69
commit
e895d2b52a
1 changed files with 9 additions and 1 deletions
|
@ -72,6 +72,13 @@ Otherwise, have a great day =^.^=
|
|||
box-shadow: 0 0 3px var(--searchbar-shadow-color);
|
||||
}
|
||||
|
||||
div.panel div.panel-body .open button.dropdown-toggle {
|
||||
background: var(--searchbar-bg);
|
||||
color: var(--searchbar-fg);
|
||||
border-color: var(--theme-popup-border);
|
||||
filter: brightness(90%);
|
||||
}
|
||||
|
||||
.dropdown-toggle .badge {
|
||||
background-color: #777;
|
||||
}
|
||||
|
@ -536,7 +543,8 @@ Otherwise, have a great day =^.^=
|
|||
};
|
||||
$scope.groups = GROUPS_FILTER_DEFAULT;
|
||||
$scope.toggleDropdown = function (name, $event) {
|
||||
if (name === $scope.selectedDropdown && $event.path.find(x => x.tagName === 'BUTTON')) {
|
||||
const target = $event.target;
|
||||
if (name === $scope.selectedDropdown && target.closest('button')) {
|
||||
$scope.selectedDropdown = undefined;
|
||||
} else {
|
||||
$scope.selectedDropdown = name;
|
||||
|
|
Loading…
Reference in a new issue