make sure the room list doesn't grow taller than viewport

by setting the min-height to 0 at every flex level,
since by default it's auto which means grow as tall as you need
to make the content fit.
pull/21833/head
Bruno Windels 2018-10-22 15:55:29 +02:00
parent e3a4ad778a
commit 15059fe005
3 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,7 @@ limitations under the License.
overflow-x: hidden;
display: flex;
flex-direction: column;
min-height: 0;
}
.mx_LeftPanel .mx_AppTile_mini {

View File

@ -54,6 +54,7 @@ limitations under the License.
order: 2;
flex: 1;
min-height: 0;
}
.mx_MatrixChat_syncError {

View File

@ -21,6 +21,7 @@ limitations under the License.
/* use flexbox to layout sublists */
display: flex;
flex-direction: column;
min-height: 0;
}
/* hide resize handles next to collapsed / empty sublists */