Open xeruf opened 2 years ago
The v*
units as listed on https://www.w3schools.com/CSSref/css_units.asp do not seem to work.
Look here. There's something on units relative to viewport. I'm not sure if it's going to help.
tried that, see my second comment :/
GTK does not support all the CSS specification.
See here: https://docs.gtk.org/gtk4/css-properties.html#basic-types
So unless some magic can be done with calc
(maybe nwg
can predefine CSS variables containing the screen size?), I'm out of luck :/
Is there a unit I can use in the CSS that is relative to my current screen size/resolution?