kibana/x-pack/plugins/searchprofiler/public/application/_app.scss
Jonathan Budzenski 51ba94d3e5
[dev] Replace sass-lint with stylelint (#86177)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
2021-01-15 11:52:29 -06:00

65 lines
1 KiB
SCSS

.prfDevTool__page {
flex: 1 1 auto;
&__body {
height: 100%;
flex: 1 1 auto;
}
&__pageBody {
height: 100%;
flex: 1 1 auto;
}
&__pageBodyContent {
height: 100%;
}
&__pageBodyContentBody {
height: 100%;
}
&__pageContentBodyContent {
height: 100%;
}
&__bodyGroup {
height: 100%;
}
}
// This value is calculated to static value using SCSS because calc in calc has issues in IE11
$headerHeightOffset: $euiHeaderHeightCompensation * 3;
.appRoot {
height: calc(100vh - #{$headerHeightOffset});
overflow: hidden;
flex-shrink: 1;
}
.prfDevTool__main {
height: 100%;
order: 2;
margin-left: $euiSize;
display: flex;
overflow: hidden;
flex-direction: column;
// Make only the tab content scroll
.search-profiler-tabs {
flex-shrink: 0;
}
}
@include euiPanel('.prfDevTool__main');
@include euiBreakpoint('xs', 's') {
.prfDevTool__container {
flex-direction: column;
}
.prfDevTool__main {
flex: 0 0 auto;
margin: $euiSize 0;
}
}