vminpoly icon indicating copy to clipboard operation
vminpoly copied to clipboard

Padding problem

Open arjunmenon opened this issue 10 years ago • 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.

arjunmenon avatar May 01 '15 19:05 arjunmenon

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

Fudoshiki avatar Oct 12 '15 19:10 Fudoshiki