styling for edit mode