Merge pull request #356 from grafixeyehero/emby-button

Fix certain elements getting incorrectly centered on firefox
This commit is contained in:
Anthony Lavado
2019-06-12 20:32:20 -04:00
committed by GitHub
2 changed files with 1 additions and 10 deletions
@@ -50,10 +50,6 @@
vertical-align: initial;
}
.button-link-inline {
display: inline;
}
.button-link:hover {
text-decoration: underline;
}
+1 -6
View File
@@ -28,11 +28,6 @@ define(['browser', 'dom', 'layoutManager', 'shell', 'appRouter', 'apphost', 'css
this.classList.add('emby-button');
if (browser.firefox) {
// a ff hack is needed for vertical alignment
this.classList.add('button-link-inline');
}
if (layoutManager.tv) {
if (this.getAttribute('data-focusscale') !== 'false') {
this.classList.add('emby-button-focusscale');
@@ -82,4 +77,4 @@ define(['browser', 'dom', 'layoutManager', 'shell', 'appRouter', 'apphost', 'css
// For extension purposes
return EmbyButtonPrototype;
});
});