mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Improvements to the quality of artworks and user images - Part 2 (#512)
* Improved the overall appearance of user images * Rounded photo in 'My profile' page * Improved quality of media artwork * fix some minor bugs introduced from a merge conflict
This commit is contained in:
parent
f6617cb28c
commit
e538a6d62c
13 changed files with 29 additions and 62 deletions
|
@ -304,7 +304,7 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
|
|||
html += "</div>";
|
||||
html += '<div class="flex align-items-center justify-content-center">';
|
||||
var userImage = DashboardPage.getUserImage(session);
|
||||
html += userImage ? '<img style="height:1.71em;border-radius:50px;margin-right:.5em;" src="' + userImage + '" />' : '<div style="height:1.71em;"></div>';
|
||||
html += userImage ? '<div class="activitylogUserPhoto" style="background-image:url(\'' + userImage + "');\"></div>" : '<div style="height:1.71em;"></div>';
|
||||
html += '<div class="sessionUserName">';
|
||||
html += DashboardPage.getUsersHtml(session);
|
||||
html += "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue