Using padding with box sizing

This commit is contained in:
reverend 2021-03-10 00:54:32 +01:00
parent 150b7c1f2c
commit 474f9f5e1a
1 changed files with 2 additions and 2 deletions

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