-
-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: fixed overflowing glance buttons when sidebar is opened #5842
base: dev
Are you sure you want to change the base?
Conversation
@@ -325,6 +359,10 @@ | |||
this._animating = false; | |||
this.closingGlance = false; | |||
|
|||
// Hide the buttons globally whenever we close | |||
this.hideSidebarButtons(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already closed from the quickCloseGlance method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a safety measure just to be sure buttons are hidden
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted this one as well
<vbox id="zen-glance-sidebar-container" hidden="true"> | ||
<toolbarbutton id="zen-glance-sidebar-close" class="toolbarbutton-1" oncommand="gZenGlanceManager.closeGlance({ onTabClose: true })"/> | ||
<toolbarbutton id="zen-glance-sidebar-open" class="toolbarbutton-1" oncommand="gZenGlanceManager.fullyOpenGlance()"/> | ||
<vbox id="glance-wrapper" style="position: relative; overflow: visible;"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please try to nod add inline stylings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sh, I think this is leftover, I have these stylings in css
Added informative comments for the glance component + refactored hideous stacked else ifs