mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Change bottom right border radius when dropdown is open
This commit is contained in:
parent
b96c89a8ec
commit
c80f4cf47b
1 changed files with 3 additions and 0 deletions
|
|
@ -123,6 +123,7 @@ function resizePopup() {
|
|||
|
||||
if (e.target.id !== 'kpxc-dropdown-item' && e.target.id !== 'dropdown-button') {
|
||||
$('.kpxc-dropdown-menu')?.hide();
|
||||
$('#dropdown-button').style.borderBottomRightRadius = '4px';
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -138,8 +139,10 @@ function resizePopup() {
|
|||
|
||||
if (dropdownMenu.style.display === 'none') {
|
||||
dropdownMenu.show();
|
||||
$('#dropdown-button').style.borderBottomRightRadius = '0px';
|
||||
} else {
|
||||
dropdownMenu.hide();
|
||||
$('#dropdown-button').style.borderBottomRightRadius = '4px';
|
||||
}
|
||||
|
||||
e.target.blur();
|
||||
|
|
|
|||
Loading…
Reference in a new issue