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('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);
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user