Gradient color picker partly hidden
Captchas
- [X] I have read the instructions.
- [X] I have searched existing issues and avoided creating duplicates.
- [X] I am not filing an enhancement request.
What happened?
I am on Linux on a High-Res 16 inches screen. The color picker is partly hidden on the right.
Reproducible?
- [X] I have checked that this issue cannot be reproduced on Mozilla Firefox.
Version
1.0.1-a.15
What platform are you seeing the problem on?
Linux
Relevant log output
No response
Hey @clementpoiret! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this issue together!
The issue with the gradient color picker being partly hidden on a high-resolution screen could be related to the CSS styling or positioning rules applied to the color picker component. The CSS rules for the color picker include relative and absolute positioning, which might not be handling high-resolution screens optimally. Specifically, the #zen-theme-builder-color-picker and its child elements use fixed dimensions and positioning that may not adapt well to different screen sizes or resolutions [1].
To address this, you might consider adjusting the CSS to use more flexible units like percentages or viewport units for width and height, or implementing media queries to handle different screen sizes. Additionally, checking if there are any JavaScript functions that dynamically adjust UI components based on screen resolution could also help in resolving this issue.
To continue talking to Dosu, mention @dosu.
I am also on linux, can't reproduce this. Can you try version a.16?
Same thing on the latest a.16. Maybe a high-dpi issue?
I also have this issue on KDE Plasma Fedora 40.
I am using a 1920x1080 display.
I'm using zen in a 1366x768 res laptop. Actual version and the one when I used the color gradient a few days ago are working fine for me:
OS: Windows 10
Issue present for me as well on a.17 on Linux.
Still an issue as of 1.0.1-t.20 on Linux... any hope for this being fixed??, as it makes using this mostly impossible, since if you assign custom colors there is no way to remove them.
Still present as of 1.0.2-t0... any response about this would be appreciated, thanks.
As soon as the next version gets out, I'll try to check if I can patch it by myself and make a PR 👌
I did not wait for the release, the fix was actually pretty simple :)
EDIT:
In your userChrome.css, paste this CSS then restart Zen:
#PanelUI-zen-gradient-generator .panel-viewcontainer,
#PanelUI-zen-gradient-generator .panel-viewstack {
display: flex;
flex-direction: column;
width: 100%;
}
Can you please confirm it also fixes the issue for you?