diff --git a/assets/css/pages/groups/pages/conversation.css b/assets/css/pages/groups/pages/conversation.css new file mode 100644 index 00000000..81a83074 --- /dev/null +++ b/assets/css/pages/groups/pages/conversation.css @@ -0,0 +1,14 @@ +/** + * Group conversation + * + * @author Pierre Hubert + */ + +.group-page-conversation { + margin: auto; + float: none; +} + +.group-page-conversation .box { + max-width: unset; +} \ No newline at end of file diff --git a/assets/js/pages/groups/pages/conversation.js b/assets/js/pages/groups/pages/conversation.js index 2a3cb9fd..b5642e2e 100644 --- a/assets/js/pages/groups/pages/conversation.js +++ b/assets/js/pages/groups/pages/conversation.js @@ -13,7 +13,16 @@ const GroupConversationPage = { * @param {HTMLElement} target Target page */ show: function(conv, target) { - ConversationPageConvPart.open(conv.id, target) + + const convTarget = createElem2({ + appendTo: target, + type: "div", + class: "row", + innerHTML: "
" + }).children[0] + + + ConversationPageConvPart.open(conv.id, convTarget) } } \ No newline at end of file diff --git a/system/config/dev.config.php b/system/config/dev.config.php index cfe28c0f..1b53527b 100644 --- a/system/config/dev.config.php +++ b/system/config/dev.config.php @@ -265,6 +265,7 @@ class Dev { //Groups page //Groups pages "css/pages/groups/pages/main.css", + "css/pages/groups/pages/conversation.css", "css/pages/groups/pages/create.css", "css/pages/groups/pages/group.css", "css/pages/groups/pages/settings.css",