From ef93399d92b2d20b89139ad4d9047b81a3fb91c7 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 3 Jun 2017 14:33:29 +0200 Subject: [PATCH] Improved barfriend appearance --- assets/css/components/friends/friendsBar.css | 4 ++++ assets/js/components/friends/friendsBar.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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();