adjust padding for active elements