tweak styling to work on safari