From 967905126956c896223d4a9fe772a9edd7f53693 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 25 Oct 2017 15:16:28 +0100 Subject: [PATCH] Introduce mx_RoomView_body for fadable things in the RoomView Part of simplifying use of mx_fadable --- .../structures/_RoomView.scss | 41 +++++++++---------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_RoomView.scss b/src/skins/vector/css/matrix-react-sdk/structures/_RoomView.scss index faed5b8b7..dfd91885f 100644 --- a/src/skins/vector/css/matrix-react-sdk/structures/_RoomView.scss +++ b/src/skins/vector/css/matrix-react-sdk/structures/_RoomView.scss @@ -80,17 +80,32 @@ limitations under the License. max-width: 1920px ! important; } -.mx_RoomView_topUnreadMessagesBar { + +.mx_RoomView_body { + order: 3; + flex: 1 1 0; + flex-direction: column; + display: flex; +} + +.mx_RoomView_body .mx_RoomView_topUnreadMessagesBar { + order: 1; +} + +.mx_RoomView_body .mx_RoomView_messagePanel { + order: 2; +} + +.mx_RoomView_body .mx_RoomView_statusArea { order: 3; } -.mx_RoomView_messagePanel { +.mx_RoomView_body .mx_MessageComposer { order: 4; +} - flex: 1 1 0; - +.mx_RoomView_messagePanel { width: 100%; - overflow-y: auto; } @@ -131,18 +146,6 @@ limitations under the License. clear: both; } -.mx_RoomView_invitePrompt { - order: 2; - - min-width: 0px; - max-width: 960px; - width: 100%; - margin: auto; - - margin-top: 12px; - margin-bottom: 12px; -} - li.mx_RoomView_myReadMarker_container { height: 0px; margin: 0px; @@ -160,8 +163,6 @@ hr.mx_RoomView_myReadMarker { } .mx_RoomView_statusArea { - order: 5; - width: 100%; flex: 0 0 auto; @@ -236,8 +237,6 @@ hr.mx_RoomView_myReadMarker { } .mx_RoomView .mx_MessageComposer { - order: 6; - width: 100%; flex: 0 0 auto; margin-right: 2px;