Fix posts width on user page with large screens

This commit is contained in:
Pierre HUBERT 2021-02-05 10:14:25 +01:00
parent be98575dea
commit 76ff8565e4
2 changed files with 6 additions and 2 deletions

View File

@ -7,4 +7,8 @@
.page-container {
max-width: 1500px;
margin: auto;
}
.user-page-right-column {
max-width: 800px;
}

View File

@ -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