diff --git a/assets/css/pages/userPage/main.css b/assets/css/pages/userPage/main.css index b4f90fb4..963d5bea 100644 --- a/assets/css/pages/userPage/main.css +++ b/assets/css/pages/userPage/main.css @@ -7,4 +7,8 @@ .page-container { max-width: 1500px; margin: auto; +} + +.user-page-right-column { + max-width: 800px; } \ No newline at end of file diff --git a/assets/js/pages/userPage/main.js b/assets/js/pages/userPage/main.js index 6645bb90..a894d47e 100644 --- a/assets/js/pages/userPage/main.js +++ b/assets/js/pages/userPage/main.js @@ -148,10 +148,10 @@ ComunicWeb.pages.userPage.main = { ComunicWeb.pages.userPage.profileInfos.display(infos, leftColumn); //Create right column - var rightColumn = createElem2({ + const rightColumn = createElem2({ appendTo: row, type: "div", - class: "col-md-8" + class: "col-md-8 user-page-right-column" }); //Display post creation form if the user is allowed to do so