mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-25 06:18:34 +00:00
09ed192fc4be871a9fab1986e40ce90f3e18db9c
`getAndApplySidebarWidth()` does handle this case but in the condition
it requires the event.
```
if (
event &&
shouldRecalculate &&
sidebarExpanded &&
!gZenVerticalTabsManager._hadSidebarCollapse
) {
return;
}
```
If the function does not return here then it makes the
`--zen-sidebar-width` = `--actual-zen-sidebar-width` which adds the
padding's width to the sidebar.
I don't know if not passing event in the function was intentional, but
this seems to fix the issue.
fixes: #13642
Zen Browser
Zen is a firefox-based browser with the aim of pushing your productivity to a new level!
Firefox Versions
Release- Is currently built using Firefox version151.0.1! 🚀Twilight- Is currently built using Firefox versionRC 151.0.1!
Contributing
If you'd like to report a bug, please do so on our GitHub Issues page and for feature requests, you can use GitHub Discussions.
Zen is an open-source project, and we welcome contributions from the community! Please take a look at the contribution guidelines before getting started!
Partners
Thanks to all the partners of Zen for their support and contributions:
Description
Languages
TypeScript
31.2%
JavaScript
23.7%
Fluent
17.7%
C++
17.7%
HTML
5.1%
Other
4.4%