Skip to content

Commit

Permalink
Fix KibanaPageTemplate.BottomBar in serverless (#168235)
Browse files Browse the repository at this point in the history
## Summary

The latest changes applied [here
](#166840) caused the
`KibanaPageTemplate.BottomBar` to not work properly:


![KibanaPageTemplate.BottomBar](https://github.com/elastic/kibana/assets/17747913/5720fb62-1352-4140-b0f6-93c818689660)

The `margin-left` should be applied only to `.euiBottomBar--fixed`
instead of all `.euiBottomBar`, `--sticky` and `--static` are already
positioned correctly to the relative parent, so no margin needs to be
applied.
  • Loading branch information
semd committed Oct 6, 2023
1 parent 653cfb2 commit 0a2148f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/public/styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
margin-left: 320px; // Hard-coded for now -- @cchaos
}

// Add support for serverless nabbar
.euiBody--hasFlyout .euiBottomBar {
// Add support for serverless navbar
.euiBody--hasFlyout .euiBottomBar--fixed {
margin-left: var(--euiCollapsibleNavOffset, 0);
}

Expand Down

0 comments on commit 0a2148f

Please sign in to comment.