saabi/vminpoly

Padding problem

Opened this issue · 1 comments

Hey
If you add padding to elements, the polyfill does not account for it. Like if you stack two elements vertically, and add 50vh to them with padding-bottom of 10px to the first and padding-top 10px to the second, the second one clips a little.

use box-sizing: border-box for element with padding