[Bug] max-height overrides min-height

, ,

I’m not sure about how much UXP actually implements all the CSS styles / behaviors on it’s own, but I noticed that max-height overrides min-height when I use it in my panel.

By MDN web docs, it should be the exact opposite.

The element’s height is set to the value of min-height whenever min-height is larger than max-height or height.

CSS Style:
max-height: 50px;
min-height: 200px;

Expected result:
Element height should be 200px

Actual result:
Element height is 50px

1 Like