From e834b06b169b0ca3c959694bd693bb8e267de636 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 29 Dec 2017 09:19:48 +0100 Subject: [PATCH] Improved rendering of user like button --- assets/js/pages/userPage/profileInfos.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/js/pages/userPage/profileInfos.js b/assets/js/pages/userPage/profileInfos.js index 73b352e3..143c2db3 100644 --- a/assets/js/pages/userPage/profileInfos.js +++ b/assets/js/pages/userPage/profileInfos.js @@ -63,12 +63,15 @@ ComunicWeb.pages.userPage.profileInfos = { innerHTML: infos.firstName + " " + infos.lastName }); + + //Show user likes var userLikesTarget = createElem2({ appendTo: boxBody, type: "div" }); userLikesTarget.style.textAlign = "center"; + userLikesTarget.style.marginBottom = "10px"; //Check wether user is linking or not var userLiking = null; @@ -85,7 +88,9 @@ ComunicWeb.pages.userPage.profileInfos = { userLikesTarget, ); - //Add list of informations about user + + + //Add a list of informations about user var listInfos = createElem2({ appendTo: boxBody, type: "url",