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

EuiHeader Padding & EuiDescribedFormGroup Shrinking Bugs #3369

Merged
merged 9 commits into from
Apr 22, 2020

Conversation

MichaelMarcialis
Copy link
Contributor

Summary

This PR address two bugs discovered by @myasonik while implementing the new navigation in Kibana. These bug fixes include:

  1. Removal of extra padding that was applied to the body element when EuiHeader is fixed. The extra padding was causing issues with the Maps app, as it is using calc to find the remaining screen real estate (minus the header height), in order to show the map in that remaining space.

  2. Corrected a bug that was causing EuiDescribedFormGroup to not shrink down properly as the browser viewport is reduced.

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes

  • Checked in mobile
  • Checked in IE11 and Firefox
    - [ ] Props have proper autodocs
    - [ ] Added documentation examples
    - [ ] Added or updated jest tests
    - [ ] Checked for breaking changes and labeled appropriately
    - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@MichaelMarcialis MichaelMarcialis marked this pull request as ready for review April 22, 2020 01:50
@MichaelMarcialis MichaelMarcialis changed the title Bug/new nav css EuiHeader Padding & EuiDescribedFormGroup Shrinking Bugs Apr 22, 2020
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3369/

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Ahh ye ole min-width: 0 trick. 😆

I tested in IE, FF, Safari and Chrome. Works like a charm with no regressions. Just a couple suggestions around comments and CL.

CHANGELOG.md Outdated Show resolved Hide resolved
Michael Marcialis and others added 2 commits April 22, 2020 11:04
Co-Authored-By: Caroline Horn <549577+cchaos@users.noreply.github.com>
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3369/

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Thanks for making those changes!

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3369/

@ryankeairns
Copy link
Contributor

Thanks for the quick fix @MichaelMarcialis !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants