refine error text size and padding