Open TheColorRed opened 4 hours ago
After doing some research, it looks like the issue is with the 100%
at least in this case. changing the 100%
to 100px
the error goes away. However, a px size is not what I am looking for.
Cannot convert percent to length
I am looking for something like a
Nullish coalescing operator (??)
(syntax taken from JavaScript). When trying to comparevoid
I get the following error:I would like a way to to set a value to something default if the value is void or some type of nullish value, maybe either like this or using a ternary operator that just falls back to the else portion.
Here is what I tried: