mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
"People" fix
People that aren't in a file/show had an empty line that resulted in staggered layout, so I added a non-breaking space for consistent layout
This commit is contained in:
parent
f893f175cb
commit
df87f66b8d
1 changed files with 4 additions and 0 deletions
|
@ -765,6 +765,10 @@
|
||||||
|
|
||||||
var itemCountHtml = LibraryBrowser.getItemCountsHtml(options, item);
|
var itemCountHtml = LibraryBrowser.getItemCountsHtml(options, item);
|
||||||
|
|
||||||
|
if (item.Type == "Person" && !itemCountHtml) {
|
||||||
|
itemCountHtml = " ";
|
||||||
|
}
|
||||||
|
|
||||||
if (itemCountHtml) {
|
if (itemCountHtml) {
|
||||||
html += "<div class='" + cssClass + "'>";
|
html += "<div class='" + cssClass + "'>";
|
||||||
html += itemCountHtml;
|
html += itemCountHtml;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue