Skip to content

Fixes overflow issues with long branch names - #10969

Merged
niik merged 2 commits into
desktop:developmentfrom
juliarvalenti:text-overflow-fixing
Nov 6, 2020
Merged

niik merged 2 commits into
desktop:developmentfrom
juliarvalenti:text-overflow-fixing

Conversation

@juliarvalenti

Copy link
Copy Markdown
Contributor

Fixes layout issues with long branch names overflowing .merge-info strong and .dialog-error div

Closes #5970

Description

  • A couple areas of the UI were causing overflow errors. I was unsure if the strategy should be to truncate or wrap in these areas. I chose to wrap as I felt having the vision of the entire branch name could prove useful.

Screenshots

Before:

image

After:

image

Before:

image

After:

image

Release notes

Notes: no-notes

@niik niik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hey @juliarvalenti, thanks so much for contributing, we really appreciate it. These changes look great, I think wrapping is a good solution here as opposed to truncation although I don't feel very strongly either way.

I'm gonna get this merged and they should make it into the next production release which we're estimating towards the end of the month.

Thanks again!

@niik
niik merged commit ef939e8 into desktop:development Nov 6, 2020
@billygriffin

Copy link
Copy Markdown
Contributor

Just wanted to echo @niik here and say thanks for the contribution @juliarvalenti! We're grateful especially for you writing it up so clearly and describing the tradeoffs you encountered. ❤️

@Yusuf2163 Yusuf2163 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Duplicate of #

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.

Truncate branch name in merge hint

4 participants