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

![image](610f02bf-ca90-4af2-878c-c85de681d87b)
This commit is contained in:
Rodney Norris 2024-02-09 14:23:44 -06:00 committed by GitHub
parent 19058ce007
commit 4b72c3343f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: (