add styles for compact layout

Signed-off-by: Hubert Chathi <hubert@uhoreg.ca>
This commit is contained in:
Hubert Chathi 2017-05-31 22:18:10 -04:00
parent 020d496cb1
commit 0c865e81a2
9 changed files with 141 additions and 1 deletions

View file

@ -104,3 +104,17 @@ limitations under the License.
top: -25px;
left: 6px;
}
.mx_MatrixChat_useCompactLayout {
.mx_LeftPanel .mx_BottomLeftMenu {
flex: 0 0 50px;
}
.mx_LeftPanel.collapsed .mx_BottomLeftMenu {
flex: 0 0 160px;
}
.mx_LeftPanel .mx_BottomLeftMenu_options {
margin-top: 12px;
}
}

View file

@ -118,3 +118,14 @@ limitations under the License.
vertical-align: top;
padding-left: 10px
}
.mx_MatrixChat_useCompactLayout {
.mx_RightPanel_footer {
flex: 0 0 50px;
}
.mx_RightPanel_footer .mx_RightPanel_invite {
line-height: 25px;
padding-top: 8px;
}
}