move the sizing properties to a mixin