fixes #4326 Style issue on Edit Custom Tab

Fixed the issue and pushed the code for review.