From d779286dc923ae0119a32640ad9faddb8351df9d Mon Sep 17 00:00:00 2001 From: ferferga Date: Sun, 5 Apr 2020 14:02:20 +0200 Subject: [PATCH] Move inline CSS to classes --- src/assets/css/librarybrowser.css | 1 + src/controllers/itemdetailpage.js | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/assets/css/librarybrowser.css b/src/assets/css/librarybrowser.css index 1f9b25ac2b..f5491e3895 100644 --- a/src/assets/css/librarybrowser.css +++ b/src/assets/css/librarybrowser.css @@ -516,6 +516,7 @@ .itemName { margin: 0.5em 0; + font-weight: 600; } .nameContainer { diff --git a/src/controllers/itemdetailpage.js b/src/controllers/itemdetailpage.js index a89bbeb07f..ab11f0484f 100644 --- a/src/controllers/itemdetailpage.js +++ b/src/controllers/itemdetailpage.js @@ -427,16 +427,16 @@ define(["loading", "appRouter", "layoutManager", "connectionManager", "userSetti if (html && !parentNameLast) { if (!layoutManager.mobile && parentNameHtml[1]) { - html += '

' + parentNameHtml[1] + ' - ' + name + '

'; + html += '

' + parentNameHtml[1] + ' - ' + name + '

'; } else { - html += '

' + name + '

'; + html += '

' + name + '

'; } } else { - html = '

' + name + "

" + html; + html = '

' + name + "

" + html; } if (item.OriginalTitle && item.OriginalTitle != item.Name) { - html += '

' + item.OriginalTitle + '

'; + html += '

' + item.OriginalTitle + '

'; } container.innerHTML = html;