Skip to content

Commit

Permalink
css var change
Browse files Browse the repository at this point in the history
  • Loading branch information
Michail Yasonik committed Sep 10, 2020
1 parent 71a78f8 commit e882849
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/public/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@import '@elastic/eui/src/global_styling/variables/header';

$headerOffset: $euiHeaderHeightCompensation * 2;
$kbnHeaderOffset: $euiHeaderHeightCompensation * 2;
4 changes: 2 additions & 2 deletions src/core/public/rendering/_base.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@include euiHeaderAffordForFixed($headerOffset);
@include euiHeaderAffordForFixed($kbnHeaderOffset);

/**
* stretch the root element of the Kibana application to set the base-size that
Expand All @@ -15,7 +15,7 @@
display: flex;
flex-flow: column nowrap;
margin: 0 auto;
min-height: calc(100vh - #{$headerOffset});
min-height: calc(100vh - #{$kbnHeaderOffset});

&.hidden-chrome {
min-height: 100vh;
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/maps/public/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#maps-plugin {
display: flex;
flex-direction: column;
height: calc(100vh - #{$headerOffset});
height: calc(100vh - #{$kbnHeaderOffset});
width: 100%;
overflow: hidden;
}
Expand Down

0 comments on commit e882849

Please sign in to comment.