Fix profile panel not being able to be closed due to hidden sidebar (#1220)
This commit is contained in:
parent
b1ce650aa7
commit
1614335bb0
@ -389,7 +389,8 @@ a {
|
||||
}
|
||||
.content-sidebar[hidden][data-has-navigation-previous=true],
|
||||
.content-sidebar[hidden][data-has-navigation-next=true],
|
||||
:root[data-popup-action-bar-visibility=always] .content-sidebar {
|
||||
:root[data-popup-action-bar-visibility=always] .content-sidebar,
|
||||
:root[data-profile-panel-visible=true] .content-sidebar {
|
||||
display: block;
|
||||
}
|
||||
.content-sidebar-inner {
|
||||
|
@ -59,6 +59,7 @@ class DisplayProfileSelection {
|
||||
_setProfilePanelVisible(visible) {
|
||||
this._profilePanel.setVisible(visible);
|
||||
this._profileButton.classList.toggle('sidebar-button-highlight', visible);
|
||||
document.documentElement.dataset.profilePanelVisible = `${visible}`;
|
||||
if (visible && this._profileListNeedsUpdate) {
|
||||
this._updateProfileList();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user