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

Merge pull request #1832 from MrTimscampi/fix-show-title

Fix cards without title
This commit is contained in:
dkanada 2020-08-22 07:43:35 +09:00 committed by GitHub
commit 4f3c5df4f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -986,6 +986,10 @@ import 'programStyles';
lines = [];
}
if (overlayText && showTitle) {
lines = [item.Name];
}
const addRightTextMargin = isOuterFooter && options.cardLayout && !options.centerText && options.cardFooterAside !== 'none' && layoutManager.mobile;
html += getCardTextLines(lines, cssClass, !options.overlayText, isOuterFooter, options.cardLayout, addRightTextMargin, options.lines);