relation edit styling