From 9139a962d4ef18946ff8c9c23038d98ccde5bd82 Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Wed, 5 Jun 2019 22:59:14 +0300 Subject: [PATCH 1/3] Remove conditional --- src/components/emby-button/emby-button.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/emby-button/emby-button.js b/src/components/emby-button/emby-button.js index d80b224d03..405874fbc3 100644 --- a/src/components/emby-button/emby-button.js +++ b/src/components/emby-button/emby-button.js @@ -28,10 +28,7 @@ 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'); - } + this.classList.add('button-link-inline'); if (layoutManager.tv) { if (this.getAttribute('data-focusscale') !== 'false') { @@ -82,4 +79,4 @@ define(['browser', 'dom', 'layoutManager', 'shell', 'appRouter', 'apphost', 'css // For extension purposes return EmbyButtonPrototype; -}); \ No newline at end of file +}); From 5e6350a121c9c50dfaec715a0be7cdcfcbb5dfd3 Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Wed, 5 Jun 2019 23:00:13 +0300 Subject: [PATCH 2/3] disable for know --- src/components/emby-button/emby-button.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/emby-button/emby-button.css b/src/components/emby-button/emby-button.css index 148d1ebadb..a5cf660b74 100644 --- a/src/components/emby-button/emby-button.css +++ b/src/components/emby-button/emby-button.css @@ -50,9 +50,9 @@ vertical-align: initial; } -.button-link-inline { +/*.button-link-inline { display: inline; -} +}*/ .button-link:hover { text-decoration: underline; From 76d5f8474c095017a913a9ac9d41cb71d80c9c47 Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Mon, 10 Jun 2019 20:44:13 +0300 Subject: [PATCH 3/3] Remove class button-link-inline and css style --- src/components/emby-button/emby-button.css | 4 ---- src/components/emby-button/emby-button.js | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/components/emby-button/emby-button.css b/src/components/emby-button/emby-button.css index a5cf660b74..a37a28ebe4 100644 --- a/src/components/emby-button/emby-button.css +++ b/src/components/emby-button/emby-button.css @@ -50,10 +50,6 @@ vertical-align: initial; } -/*.button-link-inline { - display: inline; -}*/ - .button-link:hover { text-decoration: underline; } diff --git a/src/components/emby-button/emby-button.js b/src/components/emby-button/emby-button.js index 405874fbc3..6df7aebb5c 100644 --- a/src/components/emby-button/emby-button.js +++ b/src/components/emby-button/emby-button.js @@ -28,8 +28,6 @@ define(['browser', 'dom', 'layoutManager', 'shell', 'appRouter', 'apphost', 'css this.classList.add('emby-button'); - this.classList.add('button-link-inline'); - if (layoutManager.tv) { if (this.getAttribute('data-focusscale') !== 'false') { this.classList.add('emby-button-focusscale');