domonda/domonda-js

domonda-ui: Flex `fill` prop does not consider margin for height

Closed this issue · 0 comments

Expected Behaviour

When using fill prop on flex which has spacing defined, the height should be calculated considering the margin offsets.

Actual Behaviour

Using fill prop on Flex which has spacing defined is moved up by the margin offset. It does not fill the container correctly.