scrollbars and resize handles around room sub lists

This commit is contained in:
Bruno Windels 2018-10-18 15:19:45 +02:00
parent 99982b1164
commit c1e602d56f
2 changed files with 34 additions and 20 deletions

View file

@ -16,8 +16,11 @@ limitations under the License.
*/
.mx_RoomList {
padding-bottom: 12px;
min-height: 400px;
/* take up remaining space below TopLeftMenu */
flex: 1;
/* use flexbox to layout sublists */
display: flex;
flex-direction: column;
}
.mx_RoomList_expandButton {
@ -27,18 +30,6 @@ limitations under the License.
padding-right: 12px;
}
/* Evil hacky override until Chrome fixes drop and drag table cells
and we can correctly fix horizontal wrapping in the sidebar again */
.mx_RoomList_scrollbar .gm-scroll-view {
overflow-x: hidden ! important;
overflow-y: scroll ! important;
}
/* Make sure the scrollbar is above the sticky headers from RoomList */
.mx_RoomList_scrollbar .gm-scrollbar.-vertical {
z-index: 6;
}
.mx_RoomList_emptySubListTip_container {
background-color: $secondary-accent-color;
padding-left: 18px;
@ -65,3 +56,9 @@ limitations under the License.
position: absolute;
right: 60px;
}
.mx_RoomList_itemsSubList {
min-height: 80px;
flex: 1;
}