Using padding with box sizing

This commit is contained in:
reverend 2021-03-10 00:54:32 +01:00
parent 150b7c1f2c
commit 474f9f5e1a

View File

@ -1,5 +1,5 @@
calc_height(base-height=100%)
'calc(%s - (2 * var(--inner-spacing)) - (2 * var(--outer-spacing)))' % base-height
'calc(%s - (2 * var(--outer-spacing)))' % base-height
calc_width(base-width=100%)
'calc(%s - calc(2 * var(--inner-spacing)) - calc(2 * var(--outer-spacing)))' % base-width
'calc(%s - calc(2 * var(--outer-spacing)))' % base-width