Friends list correctly shown

This commit is contained in:
Pierre 2018-03-07 19:31:29 +01:00
parent 21f8301d45
commit 4010ce9cbf
2 changed files with 33 additions and 2 deletions

View File

@ -2,4 +2,35 @@
* Friends list modal stylesheet * Friends list modal stylesheet
* *
* @author Pierre HUBERT * @author Pierre HUBERT
*/ */
.friends-list-ro .friend {
display: inline-block;
width: 170px;
max-width: 100%;
margin: 5px;
}
.friends-list-ro .friend a {
color: white;
}
.friends-list-ro .friend a:hover {
color: #001F3F;
}
.friends-list-ro .friend img {
margin: auto 10px auto auto;
max-width: 40px;
height: 40px;
border-radius: 50%;
visibility: visible;
}
.friends-list-ro .friend .friends-name {
display: inline-block;
white-space: normal;
max-width: 100px;
text-align: left;
vertical-align: middle;
}

View File

@ -198,7 +198,7 @@ ComunicWeb.components.friends.listModal = {
//Add users name //Add users name
createElem2({ createElem2({
appendTo: userLink, appendTo: userLink,
type: "span", type: "div",
class: "friends-name", class: "friends-name",
innerHTML: userFullName(users["user-" + id]) innerHTML: userFullName(users["user-" + id])
}); });