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

add code suggestions

This commit is contained in:
dkanada 2020-07-13 01:21:46 +09:00
parent aa9059d077
commit 03a00fc612
7 changed files with 7 additions and 8 deletions

View file

@ -1468,7 +1468,7 @@ import 'programStyles';
let additionalCardContent = ''; let additionalCardContent = '';
if (layoutManager.desktop) { if (layoutManager.desktop && !options.disableHoverMenu) {
additionalCardContent += getHoverMenuHtml(item, action, options); additionalCardContent += getHoverMenuHtml(item, action, options);
} }
@ -1483,7 +1483,6 @@ import 'programStyles';
* @returns {string} HTML markup of the card overlay. * @returns {string} HTML markup of the card overlay.
*/ */
function getHoverMenuHtml(item, action, options) { function getHoverMenuHtml(item, action, options) {
if (options.disableHoverMenu) return;
let html = ''; let html = '';
html += '<div class="cardOverlayContainer itemAction" data-action="' + action + '">'; html += '<div class="cardOverlayContainer itemAction" data-action="' + action + '">';

View file

@ -450,7 +450,7 @@ html {
} }
.buttonActive { .buttonActive {
color: #00a4dc; color: #00a4dc !important;
} }
.card:focus .cardBox.visualCardBox, .card:focus .cardBox.visualCardBox,

View file

@ -442,7 +442,7 @@ html {
} }
.buttonActive { .buttonActive {
color: #00a4dc; color: #00a4dc !important;
} }
.cardBox:not(.visualCardBox) .cardPadder { .cardBox:not(.visualCardBox) .cardPadder {

View file

@ -413,7 +413,7 @@ html {
} }
.buttonActive { .buttonActive {
color: #00a4dc; color: #00a4dc !important;
} }
.card:focus .cardBox.visualCardBox, .card:focus .cardBox.visualCardBox,

View file

@ -428,7 +428,7 @@ html {
} }
.buttonActive { .buttonActive {
color: #00a4dc; color: #00a4dc !important;
} }
.cardBox:not(.visualCardBox) .cardPadder { .cardBox:not(.visualCardBox) .cardPadder {

View file

@ -543,7 +543,7 @@ a[data-role=button] {
} }
.buttonActive { .buttonActive {
color: #4285f4; color: #00a4dc !important;
} }
.personCard .cardScalable { .personCard .cardScalable {

View file

@ -422,7 +422,7 @@ html {
} }
.buttonActive { .buttonActive {
color: #00a4dc; color: #00a4dc !important;
} }
.cardBox:not(.visualCardBox) .cardPadder { .cardBox:not(.visualCardBox) .cardPadder {