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

Added a few bdi tags for a good experience

This commit is contained in:
Hadi Charara 2022-07-04 13:29:46 -04:00
parent 8cd92ab518
commit b15953acc2
2 changed files with 4 additions and 4 deletions

View file

@ -487,7 +487,7 @@ import ServerConnections from '../ServerConnections';
if (enableOverview && item.Overview) {
html += '<div class="listItem-bottomoverview secondary">';
html += item.Overview;
html += '<bdi>' + item.Overview + '</bdi>';
html += '</div>';
}
}

View file

@ -483,12 +483,12 @@ function renderName(item, container, context) {
if (html && !parentNameLast) {
if (tvSeasonHtml) {
html += '<h3 class="itemName infoText subtitle focuscontainer-x"><bdi>' + tvSeasonHtml + ' - </bdi><bdi>' + name + '</bdi></h3>';
html += '<h3 class="itemName infoText subtitle focuscontainer-x"><bdi>' + tvSeasonHtml + ' - ' + name + '</bdi></h3>';
} else {
html += '<h3 class="itemName infoText subtitle">' + name + '</h3>';
html += '<h3 class="itemName infoText subtitle"><bdi>' + name + '</bdi></h3>';
}
} else if (item.OriginalTitle && item.OriginalTitle != item.Name) {
html = '<h1 class="itemName infoText parentNameLast withOriginalTitle">' + name + '</h1>' + html;
html = '<h1 class="itemName infoText parentNameLast withOriginalTitle"><bdi>' + name + '</bdi></h1>' + html;
} else {
html = '<h1 class="itemName infoText parentNameLast"><bdi>' + name + '</bdi></h1>' + html;
}