[master] +: add strip-unit function and use page-width for padding calculation