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 text overflow in branch/tag selector #28010
Conversation
web_src/css/helpers.css
Outdated
@@ -5,6 +5,7 @@ Gitea's private styles use `g-` prefix. | |||
.gt-df { display: flex !important; } | |||
.gt-dib { display: inline-block !important; } | |||
.gt-ac { align-items: center !important; } | |||
.gt-items-stretch { align-items: stretch !important; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but could you move it to line 62?
bb1eedd fixed the issue above. |
@SohlRing please fix the merge conflicts. 🍵 |
@SohlRing please fix the merge conflicts. 🍵 |
Seems we forgot this one. I'm not 100% sure if the helper changes still make sense, I will likely check it out with a fresh start. |
Fixes #27971
Before: Long branch/tag names overflow the selector button.
After: uses
text-overflow: ellipsis;
to not do that.