Merge pull request #8414 from elastic/jasper/backport/8351/5.0

[backport] PR #8351 to 5.0 - Prevents lengend from expanding page
This commit is contained in:
Tyler Smalley 2016-09-21 15:16:29 -07:00 committed by GitHub
commit 48725a379a
3 changed files with 16 additions and 3 deletions

View file

@ -7,6 +7,12 @@
.vis-editor {
.flex-parent();
@media (min-width: @screen-md-min) {
position: absolute;
width: 100%;
height: 100%;
}
.btn-xs {
line-height: 1.3;
}

View file

@ -7,7 +7,6 @@
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
align-content: space-around;
.metric-value {
font-weight: bold;

View file

@ -15,11 +15,19 @@ visualize {
.vis-container {
display: flex;
flex-direction: row;
flex: 1 0;
overflow: auto;
-webkit-transition: opacity 0.01s;
transition: opacity 0.01s;
flex: 1 1 0;
// IE11 Hack
//
// Normally we would just set flex: 1 1 0%, which works as expected in IE11.
// Unfortunately, a recent bug in Firefox causes this rule to be ignored, so we
// have to use an IE-specific hack instead.
_:-ms-fullscreen, :root & {
flex: 1 0;
}
&.vis-container--legend-left {
flex-direction: row-reverse;