last viewed ui impr
This commit is contained in:
@@ -93,6 +93,8 @@ export default class LastViewedSiteNavbarItemView extends SiteNavbarItemView {
|
||||
document.addEventListener('mouseup', this.onMouseUpBind);
|
||||
document.addEventListener('click', this.onClickBind);
|
||||
|
||||
this.element.classList.add('open');
|
||||
|
||||
await view.processFetch();
|
||||
}
|
||||
|
||||
@@ -104,6 +106,8 @@ export default class LastViewedSiteNavbarItemView extends SiteNavbarItemView {
|
||||
this.getView('panel').remove();
|
||||
}
|
||||
|
||||
this.element.classList.remove('open');
|
||||
|
||||
this.panelElement?.parentElement?.removeChild(this.panelElement);
|
||||
|
||||
document.removeEventListener('mouseup', this.onMouseUpBind);
|
||||
|
||||
@@ -1964,6 +1964,8 @@ textarea.auto-height {
|
||||
#global-search-panel,
|
||||
#last-viewed-panel {
|
||||
> .panel {
|
||||
border-top-right-radius: 0;
|
||||
|
||||
.panel-heading {
|
||||
.close-link {
|
||||
display: none;
|
||||
|
||||
Reference in New Issue
Block a user