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
|
@ -80,7 +80,7 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||
function updateHeaderUserButton(src) {
|
||||
if (src) {
|
||||
headerUserButton.classList.add("headerUserButtonRound");
|
||||
headerUserButton.innerHTML = '<img src="' + src + '" />';
|
||||
headerUserButton.innerHTML = '<div class="headerButton headerButtonRight paper-icon-button-light headerUserButtonRound" style="background-image:url(\'' + src + "');\"></div>";
|
||||
} else {
|
||||
headerUserButton.classList.remove("headerUserButtonRound");
|
||||
headerUserButton.innerHTML = '<i class="md-icon"></i>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue