Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EuiBottomBar in serverless #166840

Merged
merged 12 commits into from
Oct 4, 2023
Merged

Conversation

nchaulet
Copy link
Member

@nchaulet nchaulet commented Sep 20, 2023

Summary

EuiBottomBar is broken in serverless because of the side nav, the width is not correct and is behind the side nav

For example in Fleet

Expected

Screenshot 2023-09-20 at 9 52 47 AM

Actual

Screenshot 2023-09-20 at 9 53 00 AM

That PR attempt to fix that, the solution is a little hacky with a css attr selector. It probably can be improved by adding a new class to the body when the nav is open in the withSolutionNav component, I can do the change if it's the direction we want to go

@nchaulet nchaulet requested a review from a team September 20, 2023 14:12
@nchaulet nchaulet requested a review from a team as a code owner September 20, 2023 14:12
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • /oblt-deploy-serverless : Deploy a serverless Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@nchaulet nchaulet self-assigned this Sep 20, 2023
@nchaulet nchaulet added the release_note:skip Skip the PR/issue when compiling release notes label Sep 20, 2023
@nchaulet
Copy link
Member Author

@elasticmachine merge upstream

@jlind23
Copy link
Contributor

jlind23 commented Sep 27, 2023

Can someone from @elastic/kibana-design review this as you are codeowners? thanks!

@nchaulet nchaulet requested a review from a team as a code owner September 28, 2023 13:35
@nchaulet
Copy link
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

merge conflict between base and head

@jlind23
Copy link
Contributor

jlind23 commented Sep 29, 2023

@elastic/kibana-design @elastic/appex-sharedux can we please have a review?

Copy link
Contributor

@sebelga sebelga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍 Thanks for fixing this!

@jlind23
Copy link
Contributor

jlind23 commented Oct 2, 2023

@ryankeairns @daveyholler @mdefazio Can we get someone's review here please?

@nchaulet
Copy link
Member Author

nchaulet commented Oct 3, 2023

Depends on #167555

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 368.3KB 368.5KB +198.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @nchaulet

@nchaulet nchaulet merged commit 620ee8d into elastic:main Oct 4, 2023
20 checks passed
@nchaulet nchaulet deleted the fix-bottom-bar-serverless branch October 4, 2023 22:17
@kibanamachine kibanamachine added v8.12.0 backport:skip This commit does not require backporting labels Oct 4, 2023
semd added a commit that referenced this pull request Oct 6, 2023
## 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.
dej611 pushed a commit to dej611/kibana that referenced this pull request Oct 17, 2023
## Summary

The latest changes applied [here
](elastic#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants