--- /dev/null
+/* See https://github.com/saadeghi/browser-hack-sass-mixins */
+/*--- Only Safari ≥ 9 (Non iOS) ---*/
+@mixin only_safari_no_ios($selector, $map){
+ _:-webkit-full-screen:not(:root:root),#{$selector} {
+ @each $property, $value in ($map) {
+ #{$property}: $value;
+ }
+ }
+}
height: 50px;
padding: 0 15px;
- /* fix flicker in Safari on dropdown menu hover */
- transform: translateZ(0);
-
> span {
flex: 0 0 auto;
}
}
}
+/* Hack for a font rendering issue in Safari on menu hover */
+@include only_safari_no_ios('.pageHeaderPanel > .layoutBoundary', (transform: translateZ(0)));
+
/* user panel */
.userPanel {
flex: 0 0 auto;
padding: 0 15px;
position: relative;
- /* fix flicker in Safari on dropdown menu hover */
- transform: translateZ(0);
-
/* hide icon label */
> span:not(.icon):not(.badge) {
display: none;