Skip to content
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

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

Raiden0456
Copy link

Added informative comments for the glance component + refactored hideous stacked else ifs

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Bug labels Feb 27, 2025
@@ -325,6 +359,10 @@
this._animating = false;
this.closingGlance = false;

// Hide the buttons globally whenever we close
this.hideSidebarButtons();
Copy link
Member

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

Copy link
Author

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

Copy link
Author

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

@Raiden0456 Raiden0456 requested a review from mauro-balades March 1, 2025 21:24
<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;">
Copy link
Member

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

Copy link
Author

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

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants