Fix conversations width

This commit is contained in:
Pierre HUBERT 2021-04-05 16:03:35 +02:00
parent 5bb7b2a39e
commit 20efa81a29
3 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,14 @@
/**
* Group conversation
*
* @author Pierre Hubert
*/
.group-page-conversation {
margin: auto;
float: none;
}
.group-page-conversation .box {
max-width: unset;
}

View File

@ -13,7 +13,16 @@ const GroupConversationPage = {
* @param {HTMLElement} target Target page * @param {HTMLElement} target Target page
*/ */
show: function(conv, target) { show: function(conv, target) {
ConversationPageConvPart.open(conv.id, target)
const convTarget = createElem2({
appendTo: target,
type: "div",
class: "row",
innerHTML: "<div class='col-md-6 group-page-conversation'></div>"
}).children[0]
ConversationPageConvPart.open(conv.id, convTarget)
} }
} }

View File

@ -265,6 +265,7 @@ class Dev {
//Groups page //Groups page
//Groups pages //Groups pages
"css/pages/groups/pages/main.css", "css/pages/groups/pages/main.css",
"css/pages/groups/pages/conversation.css",
"css/pages/groups/pages/create.css", "css/pages/groups/pages/create.css",
"css/pages/groups/pages/group.css", "css/pages/groups/pages/group.css",
"css/pages/groups/pages/settings.css", "css/pages/groups/pages/settings.css",