put sizing of right panel in RightPanel style file, plus min-width

This commit is contained in:
Bruno Windels 2018-10-11 15:42:45 +02:00
parent 4f006b033e
commit 3331a29ac5
2 changed files with 3 additions and 9 deletions

View file

@ -88,11 +88,3 @@ limitations under the License.
*/ */
height: 100%; height: 100%;
} }
.mx_MatrixChat .mx_RightPanel {
flex: 0 0 235px;
}
.mx_MatrixChat .mx_RightPanel.collapsed {
flex: 0 0 122px;
}

View file

@ -15,8 +15,10 @@ limitations under the License.
*/ */
.mx_RightPanel { .mx_RightPanel {
overflow-x: hidden;
flex: 0 0 auto;
position: relative; position: relative;
min-width: 250px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }