add correct padding to content with bars