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 APM header wrapping #78845

Merged
merged 1 commit into from
Sep 29, 2020
Merged

Fix APM header wrapping #78845

merged 1 commit into from
Sep 29, 2020

Conversation

smith
Copy link
Contributor

@smith smith commented Sep 29, 2020

Add wrap to the flex group for the APM header and remove the break-all CSS.

Makes it so the date picker doesn't get cut off on narrow screens and the header text does not wrap unnecessarily.

Home

Before

image

After

image

Transaction (with breakable characters)

Before

image

After

image

Transaction (without breakable characters)

Before

image

After

image

note that in this last case the transaction name may be cut off but is still visible elsewhere on the page and we don't lose the use of the date picker.

Add `wrap` to the flex group for the APM header and remove the `break-all` CSS.

Makes it so the date picker doesn't get cut off on narrow screens and the header text does not wrap unnecessarily.
@smith smith requested a review from a team as a code owner September 29, 2020 18:53
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Sep 29, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

Copy link
Contributor

@ogupte ogupte left a comment

Choose a reason for hiding this comment

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

Looks great!

@formgeist
Copy link
Contributor

👏 Thank you!

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

async chunks size

id value diff baseline
apm 4.1MB -410.0B 4.1MB

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

@smith smith merged commit dffbc35 into elastic:master Sep 29, 2020
@smith smith deleted the nls/header-wrap branch September 29, 2020 20:59
smith added a commit to smith/kibana that referenced this pull request Sep 29, 2020
Add `wrap` to the flex group for the APM header and remove the `break-all` CSS.

Makes it so the date picker doesn't get cut off on narrow screens and the header text does not wrap unnecessarily.
smith added a commit that referenced this pull request Sep 30, 2020
Add `wrap` to the flex group for the APM header and remove the `break-all` CSS.

Makes it so the date picker doesn't get cut off on narrow screens and the header text does not wrap unnecessarily.
yctercero pushed a commit to yctercero/kibana that referenced this pull request Sep 30, 2020
Add `wrap` to the flex group for the APM header and remove the `break-all` CSS.

Makes it so the date picker doesn't get cut off on narrow screens and the header text does not wrap unnecessarily.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:fix Team:APM All issues that need APM UI Team support v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants