Skip to content

FIX Ensure visitor profile country name doesn't overflow #21145

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

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

ARSHIL1804
Copy link
Contributor

@ARSHIL1804 ARSHIL1804 commented Aug 15, 2023

Description:

:after element width was not set so it was overflowing. fixed this by adding the right property so it will remain inside parent container, set text-overflow to ellipsis in case country name goes out of the box.

fixes #20963

Review

@michalkleiner
Copy link
Contributor

Hi @ARSHIL1804, thank you for your contribution. I've left two comments to address and let's see how the tests otherwise run. We may need to update some UI test screenshots and if not, then it indicates were are not testing for this, so adjusting a test would be great to cover this to prevent future regressions.

@michalkleiner michalkleiner changed the title fix : visitor profile country name overflow issue FIX Ensure visitor profile country name doesn't overflow Aug 15, 2023
@michalkleiner michalkleiner removed their assignment Aug 18, 2023
Copy link
Member

@sgiehl sgiehl left a comment

Choose a reason for hiding this comment

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

Tested it locally and it works as expected 👍

@sgiehl sgiehl added this to the 5.0.0 milestone Aug 25, 2023
@sgiehl sgiehl added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Aug 25, 2023
@sgiehl sgiehl merged commit 795a1f2 into matomo-org:5.x-dev Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Development

Successfully merging this pull request may close these issues.

Too long city names might overlap in visitor profile
3 participants