Fix style for safari