mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Merge pull request #2421 from matrix-org/bwindels/fixgrid
fix grid growing wider than viewport on chrome
This commit is contained in:
commit
d529e2475b
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