diff --git a/assets/css/common/global.css b/assets/css/common/global.css index e48118a8..58c5b32e 100644 --- a/assets/css/common/global.css +++ b/assets/css/common/global.css @@ -37,10 +37,6 @@ a, .cursor-pointer { padding-bottom: 0px; } -#pageTarget { - display: flex; - flex-direction: column; -} /** * Adapt menu bar to small screens diff --git a/assets/css/pages/conversations/main.css b/assets/css/pages/conversations/main.css index 18684878..b3698933 100644 --- a/assets/css/pages/conversations/main.css +++ b/assets/css/pages/conversations/main.css @@ -4,6 +4,12 @@ * @author Pierre HUBERT */ + +.conversations-page #pageTarget { + display: flex; + flex-direction: column; +} + .conversations-page-container { max-width: 1000px; margin: auto; diff --git a/assets/js/pages/conversations/conversation.js b/assets/js/pages/conversations/conversation.js index 489c9ddd..a6d6bdff 100644 --- a/assets/js/pages/conversations/conversation.js +++ b/assets/js/pages/conversations/conversation.js @@ -20,6 +20,9 @@ const ConversationPageConvPart = { */ open: async function(convID, target){ + + document.body.classList.add("conversations-page"); + //Reset conversation information this._conv_info = {