Fix IE11 bug with flex-basis on .visualize-chart

IE treats elements that have a flex-basis other than auto as box-sizing:
content-box regardless of what custom box-sizing you have specified. In
this case, we make all elements use border-box, but IE ignores that for
.visualize-chart, which causes padding inconsistencies that result in
vertical and horizontal scrollbars on our visualizations.
This commit is contained in:
Court Ewing 2016-01-07 14:03:16 -05:00
parent 640668cdea
commit 4d700729b7

View file

@ -1,6 +1,6 @@
.visualize-chart {
display: flex;
flex: 1 1 100%;
flex: 1 1 auto;
min-height: 0;
min-width: 0;
}