Fix advanced filters on PET tables [SCI-7650] (#4747)

This commit is contained in:
ajugo 2023-01-04 09:59:05 +01:00 committed by GitHub
parent 53a2ea6df7
commit 4f55b4a749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 14 deletions

View file

@ -52,10 +52,10 @@ var filterDropdown = (function() {
$textFilter.click(function(e) {
e.stopPropagation();
$('#textSearchFilterHistory').toggle();
$(this).closest('.dropdown').toggleClass('open');
}).on('input', () => {
$(e.target).closest('.dropdown').toggleClass('open');
}).on('input', (e) => {
$('#textSearchFilterHistory').hide();
$(this).closest('.dropdown').removeClass('open');
$(e.target).closest('.dropdown').removeClass('open');
});
$filterContainer.on('click', '.projects-search-keyword', function(e) {

View file

@ -616,17 +616,6 @@ li.module-hover {
}
}
}
.dropdown-option.users-dropdown-list {
padding: 8px 10px;
.item-avatar {
border-radius: 50%;
height: 32px;
margin: 0 16px 0 0;
width: 32px;
}
}
}
.projects-toolbar {

View file

@ -44,6 +44,20 @@
}
}
.item-avatar {
border-radius: 50%;
}
.dropdown-option.users-dropdown-list {
padding: 8px 10px;
.item-avatar {
height: 32px;
margin: 0 16px 0 0;
width: 32px;
}
}
.recent-searches {
border-top-left-radius: 0;
border-top-right-radius: 0;