Fix styling for safari