diff --git a/assets/css/components/friends/friendsBar.css b/assets/css/components/friends/friendsBar.css index d9d4d3fe..00106ba5 100644 --- a/assets/css/components/friends/friendsBar.css +++ b/assets/css/components/friends/friendsBar.css @@ -48,4 +48,8 @@ height: 40px; border-radius: 50%; visibility: visible +} + +#friendsList .statusRow { + width: 48px; } \ No newline at end of file diff --git a/assets/js/components/friends/friendsBar.js b/assets/js/components/friends/friendsBar.js index dccf63dd..ca55e146 100644 --- a/assets/js/components/friends/friendsBar.js +++ b/assets/js/components/friends/friendsBar.js @@ -115,7 +115,8 @@ ComunicWeb.components.friends.bar = { nameRow.innerHTML = usersInfos["user-"+friendID].firstName + " " + usersInfos["user-"+friendID].lastName; //Add user login status - var statusRow = createElem("td", friendRow); + var statusRow = createElem("td", friendRow); + statusRow.className = "statusRow"; //Check if user is online or not var currentTime = ComunicWeb.common.date.time();