[#234] set default max size if corresponding CSS property are defined