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:
commit
6188ff74bc
2 changed files with 1 additions and 10 deletions
|
@ -50,10 +50,6 @@
|
||||||
vertical-align: initial;
|
vertical-align: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-link-inline {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-link:hover {
|
.button-link:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,11 +28,6 @@ define(['browser', 'dom', 'layoutManager', 'shell', 'appRouter', 'apphost', 'css
|
||||||
|
|
||||||
this.classList.add('emby-button');
|
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 (layoutManager.tv) {
|
||||||
if (this.getAttribute('data-focusscale') !== 'false') {
|
if (this.getAttribute('data-focusscale') !== 'false') {
|
||||||
this.classList.add('emby-button-focusscale');
|
this.classList.add('emby-button-focusscale');
|
||||||
|
@ -82,4 +77,4 @@ define(['browser', 'dom', 'layoutManager', 'shell', 'appRouter', 'apphost', 'css
|
||||||
|
|
||||||
// For extension purposes
|
// For extension purposes
|
||||||
return EmbyButtonPrototype;
|
return EmbyButtonPrototype;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue