-
Notifications
You must be signed in to change notification settings - Fork 57
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
Leggero-v2 enhancement: Enable max-width to be percentage of the width instead of flat pixel numbers #476
Comments
Hi @ynazar1, Thank you for your suggestion for improvement. Here is a quick & dirty hack: flatpress/fp-interface/themes/leggero/leggero-v2/res/common.css Lines 327 to 339 in 29c5874
Now you can adjust the screen width and width of #body-container and #main as desired. Update: Alternatively, you can use the NHWS Scalable theme as a basis and customize it as you wish. Best regards |
😮 !!! That looks great! I'll play around with it but no issues so far that i can see after replacing my common.css with your linked one. Preliminary testing: it looks like it scales and shrinks correctly when resizing window. Mobile looks fine too. Did scroll bar in chrome previously matched the theme color? Cause that's kinda cool too. |
Thank you. For context, i've updated from 1.2.1 to 1.3.1 yesterday finally thus the request above. Looks awesome! |
Hello @ynazar1
Great that it suits you and that you like it. The right chrome scrollbar has the color #82271f (more red tint) and differs from the design color #B83C32. You have to experiment a bit to find the right color. I found #B83C32 a little too pale for the scrollbar. ...it's all a matter of taste. Best regards |
Problem:

On wide and ultra wide monitors leggero theme poorly covers screen real estate, taking up at best about 1/3rd of the screen... and it only gets worse at higher resolutions or wider monitors. Example picture:
Proposal: Instead of using static max-width css anchors, use % of the screen wherever possible.
An example of changing just two max-width lines to 80% or so in devtools:

Challenges:
css is a multilayer cake and there are going to be a total whack-a-mole of different UIs to change.
Context: I hacked together a 80% coverage version in 1.2.0 but it was a bit of a mess as my skills aren't all that great. I may try doing it again in 1.3.1 eventually, it's all in leggero's common.css
The text was updated successfully, but these errors were encountered: