iPhone X safe-area-inset error
jcontonio opened this issue · comments
Jay Contonio commented
Following the examples from Apple's documentation, v1.5.1 will throw an error for the following:
@supports(padding: max(0px)) {
padding-left: max($marginWidth, env(safe-area-inset-left));
padding-right: max($marginWidth, env(safe-area-inset-right));
}
The error: "env(safe-area-inset-left)" is not a number for
max'`
Jay Contonio commented
Found the fix here, nm.