mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fix(embeddable_console): use header offset to calculate max height (#176627)
## Summary
Update the docked console max height to use the euiFixedHeadersOffset
CSS variable instead of #{$euiSize * 5}
### Screenshot

This commit is contained in:
parent
19058ce007
commit
4b72c3343f
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ $embeddableConsoleBackground: lightOrDarkTheme($euiColorDarkestShade, $euiColorI
|
|||
$embeddableConsoleText: lighten(makeHighContrastColor($euiColorLightestShade, $embeddableConsoleBackground), 20%);
|
||||
$embeddableConsoleBorderColor: transparentize($euiColorGhost, .8);
|
||||
$embeddableConsoleInitialHeight: $euiSizeXXL;
|
||||
$embeddableConsoleMaxHeight: calc(100vh - #{$euiSize * 5});
|
||||
$embeddableConsoleMaxHeight: calc(100vh - var(--euiFixedHeadersOffset, 0));
|
||||
|
||||
// Pixel heights ensure no blurriness caused by half pixel offsets
|
||||
$embeddableConsoleHeights: (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue