In my plugin I tried to use:
--height: 10em;
height: max(var(--height), 2em);
And it didn’t work - it doesn’t set height at all. Then I tried checking if max()
works at all and it does:
height: max(10em, 2em);
Then I tried to reproduce this in UI Playground sample plugin and even the second case doesn’t work - height is not set at all