Fix Nato positioning for Win Chrome

pull/5626/head
Wieland Lindenthal 8 years ago
parent d61ea5b6ea
commit 84c3426934
  1. 8
      app/assets/stylesheets/content/_buttons.sass
  2. 5
      frontend/app/globals/browser-specific-flags.ts

@ -101,14 +101,18 @@ a.button
.button--icon
@include icon-common
.button--icon + .button--text,
.button--text + .button--icon,
.op-icon--wrapper + .button--text,
.button--text + .op-icon--wrapper
margin: 0 0 0 $button--text-icon-spacing
// Hack as Lato font on Win Chrome draws about a pixel too highligh
html.-browser-windows.-browser-chrome
.button--text,
.button--icon
vertical-align: -1px
.button--dropdown-indicator
@include icon-common
padding: 0 0 0 3px

@ -34,5 +34,8 @@ jQuery(function() {
if (bowser.safari) {
document.documentElement.classList.add('-browser-safari');
}
});
if (bowser.windows) {
document.documentElement.classList.add('-browser-windows');
}
});

Loading…
Cancel
Save