diff --git a/src/main.js b/src/main.js index 1dbac9d..b850685 100644 --- a/src/main.js +++ b/src/main.js @@ -285,7 +285,10 @@ function renderCoverflow() { item.className = 'coverflow-item'; item.dataset.idx = String(idx); - const logoUrl = s.logo || (s.raw && (s.raw.logo || s.raw.poster)) || ''; + const rawLogoUrl = s.logo || (s.raw && (s.raw.logo || s.raw.poster)) || ''; + const logoUrl = rawLogoUrl && rawLogoUrl.startsWith('http://') + ? ('https://' + rawLogoUrl.slice('http://'.length)) + : rawLogoUrl; if (logoUrl) { const img = document.createElement('img'); img.alt = `${s.name} logo`; diff --git a/src/styles.css b/src/styles.css index 79b8cca..fb73155 100644 --- a/src/styles.css +++ b/src/styles.css @@ -363,7 +363,7 @@ body { padding: 12px; /* inner spacing from rounded edges */ box-sizing: border-box; border-radius: 12px; - box-shadow: 0 8px 20px rgba(0,0,0,0.35); + /*box-shadow: 0 8px 20px rgba(0,0,0,0.35);*/ position: relative; z-index: 3; margin-left:1rem;