fix grid growing wider than viewport
This commit is contained in:
parent
ece5cb1fcc
commit
40e8e48e08
2 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,7 @@ limitations under the License.
|
|||
grid-template-columns: repeat(3, calc(100% / 3));
|
||||
grid-template-rows: repeat(2, calc(100% / 2));
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.mx_GroupGridView_rightPanel {
|
||||
|
|
|
@ -73,7 +73,8 @@ limitations under the License.
|
|||
.mx_MatrixChat > :not(.mx_LeftPanel_container):not(.mx_ResizeHandle) {
|
||||
background-color: $primary-bg-color;
|
||||
|
||||
flex: 1;
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
|
||||
/* Experimental fix for https://github.com/vector-im/vector-web/issues/947
|
||||
and https://github.com/vector-im/vector-web/issues/946.
|
||||
|
|
Loading…
Reference in a new issue