1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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
commit 6188ff74bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 10 deletions

View file

@ -50,10 +50,6 @@
vertical-align: initial;
}
.button-link-inline {
display: inline;
}
.button-link:hover {
text-decoration: underline;
}

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;
});
});