mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Fix background size for TV channel logos
This commit is contained in:
parent
c3d458b148
commit
8194b19d0c
@ -244,6 +244,10 @@ button::-moz-focus-inner {
|
|||||||
background-position: center center;
|
background-position: center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.coveredImage.coveredImage-contain {
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
|
||||||
.cardFooter {
|
.cardFooter {
|
||||||
padding: 0.3em 0.3em 0.5em 0.3em;
|
padding: 0.3em 0.3em 0.5em 0.3em;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -1211,6 +1211,10 @@ import 'programStyles';
|
|||||||
|
|
||||||
if (coveredImage) {
|
if (coveredImage) {
|
||||||
cardImageContainerClass += ' coveredImage';
|
cardImageContainerClass += ' coveredImage';
|
||||||
|
|
||||||
|
if (item.Type === 'TvChannel') {
|
||||||
|
cardImageContainerClass += ' coveredImage-contain';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!imgUrl) {
|
if (!imgUrl) {
|
||||||
|
Loading…
Reference in New Issue
Block a user