mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Change flexbox rules of Dashboard Panel visualization containers so that they don't get squeezed by the spy. (#12038)
This commit is contained in:
parent
d7049c23b4
commit
a7cd3258d2
1 changed files with 8 additions and 1 deletions
|
@ -12,13 +12,16 @@ visualize {
|
||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Expand to fill the container but don't get squeezed smaller by the spy.
|
||||||
|
*/
|
||||||
.vis-container {
|
.vis-container {
|
||||||
|
flex: 1 0 auto; /* 1 */
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
-webkit-transition: opacity 0.01s;
|
-webkit-transition: opacity 0.01s;
|
||||||
transition: opacity 0.01s;
|
transition: opacity 0.01s;
|
||||||
flex: 1 1 0;
|
|
||||||
|
|
||||||
// IE11 Hack
|
// IE11 Hack
|
||||||
//
|
//
|
||||||
|
@ -62,7 +65,11 @@ visualize {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Expand to fill the container but don't get squeezed smaller by the spy.
|
||||||
|
*/
|
||||||
.visualize-error {
|
.visualize-error {
|
||||||
|
flex: 1 0 auto; /* 1 */
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue