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:
parent
8cd92ab518
commit
b15953acc2
2 changed files with 4 additions and 4 deletions
|
@ -487,7 +487,7 @@ import ServerConnections from '../ServerConnections';
|
||||||
|
|
||||||
if (enableOverview && item.Overview) {
|
if (enableOverview && item.Overview) {
|
||||||
html += '<div class="listItem-bottomoverview secondary">';
|
html += '<div class="listItem-bottomoverview secondary">';
|
||||||
html += item.Overview;
|
html += '<bdi>' + item.Overview + '</bdi>';
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -483,12 +483,12 @@ function renderName(item, container, context) {
|
||||||
|
|
||||||
if (html && !parentNameLast) {
|
if (html && !parentNameLast) {
|
||||||
if (tvSeasonHtml) {
|
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 {
|
} 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) {
|
} 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 {
|
} else {
|
||||||
html = '<h1 class="itemName infoText parentNameLast"><bdi>' + name + '</bdi></h1>' + html;
|
html = '<h1 class="itemName infoText parentNameLast"><bdi>' + name + '</bdi></h1>' + html;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue