remove flexbox layout
This commit is contained in:
parent
067a861f80
commit
a5297303b0
2 changed files with 7 additions and 27 deletions
|
@ -32,34 +32,13 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.mx_RoomSubList {
|
.mx_RoomSubList {
|
||||||
min-height: 31px;
|
|
||||||
flex: 0 10000 auto;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomSubList.resized-sized {
|
|
||||||
/*
|
|
||||||
flex-basis to 0 so sublists
|
|
||||||
are not shrinking/growing relative
|
|
||||||
to their content (as would be the case with auto),
|
|
||||||
as this intervenes with sizing an item exactly
|
|
||||||
when not available space is available
|
|
||||||
in the flex container
|
|
||||||
*/
|
|
||||||
flex: 1 1 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_RoomSubList_nonEmpty {
|
.mx_RoomSubList_nonEmpty .mx_AutoHideScrollbar_offset {
|
||||||
min-height: 74px;
|
padding-bottom: 4px;
|
||||||
|
|
||||||
.mx_AutoHideScrollbar_offset {
|
|
||||||
padding-bottom: 4px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_RoomSubList_hidden {
|
|
||||||
flex: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomSubList_labelContainer {
|
.mx_RoomSubList_labelContainer {
|
||||||
|
|
|
@ -17,13 +17,14 @@ limitations under the License.
|
||||||
|
|
||||||
.mx_RoomList {
|
.mx_RoomList {
|
||||||
/* take up remaining space below TopLeftMenu */
|
/* take up remaining space below TopLeftMenu */
|
||||||
flex: 1 1 auto;
|
flex: 1;
|
||||||
/* use flexbox to layout sublists */
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_RoomList .mx_ResizeHandle {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_SearchBox {
|
.mx_SearchBox {
|
||||||
flex: none;
|
flex: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue