Removing redundant display style