last viewed ui impr

This commit is contained in:
Yurii
2026-03-14 18:08:33 +02:00
parent 1aabf6eea6
commit 83362fe3c1
2 changed files with 6 additions and 0 deletions
@@ -93,6 +93,8 @@ export default class LastViewedSiteNavbarItemView extends SiteNavbarItemView {
document.addEventListener('mouseup', this.onMouseUpBind); document.addEventListener('mouseup', this.onMouseUpBind);
document.addEventListener('click', this.onClickBind); document.addEventListener('click', this.onClickBind);
this.element.classList.add('open');
await view.processFetch(); await view.processFetch();
} }
@@ -104,6 +106,8 @@ export default class LastViewedSiteNavbarItemView extends SiteNavbarItemView {
this.getView('panel').remove(); this.getView('panel').remove();
} }
this.element.classList.remove('open');
this.panelElement?.parentElement?.removeChild(this.panelElement); this.panelElement?.parentElement?.removeChild(this.panelElement);
document.removeEventListener('mouseup', this.onMouseUpBind); document.removeEventListener('mouseup', this.onMouseUpBind);
+2
View File
@@ -1964,6 +1964,8 @@ textarea.auto-height {
#global-search-panel, #global-search-panel,
#last-viewed-panel { #last-viewed-panel {
> .panel { > .panel {
border-top-right-radius: 0;
.panel-heading { .panel-heading {
.close-link { .close-link {
display: none; display: none;