trying to make the left panel not grow taller than available space

This commit is contained in:
Bruno Windels 2019-01-08 18:16:37 +01:00
parent b4197059a0
commit 0c364510ef

View file

@ -33,11 +33,15 @@ limitations under the License.
.mx_RoomSubList { .mx_RoomSubList {
min-height: 31px; min-height: 31px;
flex: 0 1 auto; flex: 0 10000 auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.mx_RoomSubList.resized-sized {
flex: 1 1 auto;
}
.mx_RoomSubList_nonEmpty { .mx_RoomSubList_nonEmpty {
min-height: 74px; min-height: 74px;
@ -50,17 +54,6 @@ limitations under the License.
flex: none !important; flex: none !important;
} }
// .mx_RoomSubList.resized-all {
// flex: 0 1 auto;
// }
.mx_RoomSubList.resized-sized {
/* resizer set max-height on resized-sized,
so that limits the height and hence
needs a very small flex-shrink */
flex: 1 0 auto;
}
.mx_RoomSubList_labelContainer { .mx_RoomSubList_labelContainer {
display: flex; display: flex;
flex-direction: row; flex-direction: row;