Skip to content

Commit

Permalink
Merge pull request #8006 from andrej-scinote/aj_SCI_11219
Browse files Browse the repository at this point in the history
Fix look of the select all button [SCI-11219]
  • Loading branch information
andrej-scinote authored Oct 30, 2024
2 parents 47c67ea + 2d6d47b commit 97011d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/sitewide/dropdown_selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ var dropdownSelector = (function() {

// If we setup Select All we draw it and add correspond logic
if (selectElement.data('select-all-button')) {
$(`<div class="dropdown-select-all btn">${selectElement.data('select-all-button')}</div>`)
$(`<div class="dropdown-select-all">${selectElement.data('select-all-button')}</div>`)
.appendTo(dropdownContainer.find('.dropdown-container'))
.click(() => {
// For AJAX dropdown we will use only "Deselect All"
Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/shared/dropdown_selector.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@
top: 0;
width: 100%;
z-index: 5;

&:hover {
background: $color-concrete;
}
}

.dropdown-blank {
Expand Down

0 comments on commit 97011d6

Please sign in to comment.