Commit 50155897 authored by 杨奕's avatar 杨奕 Committed by GitHub

Layout: add flex-basis so it works in IE11 (#9655)

parent 645b30f1
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex: 1; flex: 1;
flex-basis: auto;
box-sizing: border-box; box-sizing: border-box;
min-width: 0; min-width: 0;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
@include b(main) { @include b(main) {
flex: 1; flex: 1;
flex-basis: auto;
overflow: auto; overflow: auto;
box-sizing: border-box; box-sizing: border-box;
padding: $--main-padding; padding: $--main-padding;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment