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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue