mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 08:42:59 -07:00
Fix music background on newsletter
This commit is contained in:
parent
1474f144fe
commit
964f24d6ab
2 changed files with 3 additions and 3 deletions
|
@ -790,7 +790,7 @@
|
||||||
<div class="card-instance album" style="float: left;width: 500px;margin: 3px;border: 1px solid rgba(255,255,255,.1);-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;font-size: 12px;overflow: hidden;position: relative;height: 160px;">
|
<div class="card-instance album" style="float: left;width: 500px;margin: 3px;border: 1px solid rgba(255,255,255,.1);-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;font-size: 12px;overflow: hidden;position: relative;height: 160px;">
|
||||||
% endif
|
% endif
|
||||||
% if preview:
|
% if preview:
|
||||||
<div class="card-background-preview" style="background-image: url(${'pms_image_proxy?img=' + album['art'] + '&width=500&height=280&opacity=25&background=282828&blur=3&fallback=art&refresh=true'});">
|
<div class="card-background" style="background-image: url(${'pms_image_proxy?img=' + album['art'] + '&width=500&height=280&opacity=25&background=282828&blur=3&fallback=art&refresh=true'});">
|
||||||
% else:
|
% else:
|
||||||
<div class="card-background" style="background-image: url(${album['art_url']});background-position: center;background-size: cover;width: 100%;height: 100%;">
|
<div class="card-background" style="background-image: url(${album['art_url']});background-position: center;background-size: cover;width: 100%;height: 100%;">
|
||||||
% endif
|
% endif
|
||||||
|
|
|
@ -567,7 +567,7 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<!-- START CENTERED WHITE CONTAINER -->
|
<!-- START CENTERED WHITE CONTAINER -->
|
||||||
<span class="preheader">Tautulli Newsletter - ${title}</span>
|
<span class="preheader">Tautulli card-backbro - ${title}</span>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" class="main">
|
<table border="0" cellpadding="0" cellspacing="0" class="main">
|
||||||
|
|
||||||
|
@ -790,7 +790,7 @@
|
||||||
<div class="card-instance album">
|
<div class="card-instance album">
|
||||||
% endif
|
% endif
|
||||||
% if preview:
|
% if preview:
|
||||||
<div class="card-background-preview" style="background-image: url(${'pms_image_proxy?img=' + album['art'] + '&width=500&height=280&opacity=25&background=282828&blur=3&fallback=art&refresh=true'});">
|
<div class="card-background" style="background-image: url(${'pms_image_proxy?img=' + album['art'] + '&width=500&height=280&opacity=25&background=282828&blur=3&fallback=art&refresh=true'});">
|
||||||
% else:
|
% else:
|
||||||
<div class="card-background" style="background-image: url(${album['art_url']});">
|
<div class="card-background" style="background-image: url(${album['art_url']});">
|
||||||
% endif
|
% endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue