mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-25 21:39:21 +00:00
Fix conversations width
This commit is contained in:
parent
5bb7b2a39e
commit
20efa81a29
14
assets/css/pages/groups/pages/conversation.css
Normal file
14
assets/css/pages/groups/pages/conversation.css
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Group conversation
|
||||
*
|
||||
* @author Pierre Hubert
|
||||
*/
|
||||
|
||||
.group-page-conversation {
|
||||
margin: auto;
|
||||
float: none;
|
||||
}
|
||||
|
||||
.group-page-conversation .box {
|
||||
max-width: unset;
|
||||
}
|
@ -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: "<div class='col-md-6 group-page-conversation'></div>"
|
||||
}).children[0]
|
||||
|
||||
|
||||
ConversationPageConvPart.open(conv.id, convTarget)
|
||||
}
|
||||
|
||||
}
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user