-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Remove or Replace css break-all
in small areas
#31636
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
Comments
Should likely use |
silverwind
added a commit
to silverwind/gitea
that referenced
this issue
Jul 15, 2024
I handled org description in #31637 as well. Not sure about overflow-wrap cases. All remaining cases of |
GiteaBot
added a commit
to GiteaBot/gitea
that referenced
this issue
Jul 18, 2024
Fixes: go-gitea#31636 1. Issue sidebar topic is disussed in go-gitea#31636 2. Org description already has `overflow-wrap: anywhere` to ensure no overflow. Co-authored-by: Giteabot <teabot@gitea.io>
silverwind
added a commit
that referenced
this issue
Jul 18, 2024
Backport #31637 by @silverwind Fixes: #31636 1. Issue sidebar topic is disussed in #31636 2. Org description already has `overflow-wrap: anywhere` to ensure no overflow. Co-authored-by: silverwind <me@silverwind.io>
DennisRasey
pushed a commit
to DennisRasey/forgejo
that referenced
this issue
Jul 23, 2024
Fixes: go-gitea/gitea#31636 1. Issue sidebar topic is disussed in go-gitea/gitea#31636 2. Org description already has `overflow-wrap: anywhere` to ensure no overflow. Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit 0c1127a2fb4c07576b4a2e4cffbcd2b0c8670a27)
richmahn
pushed a commit
to unfoldingWord/dcs
that referenced
this issue
Mar 2, 2025
Fixes: go-gitea/gitea#31636 1. Issue sidebar topic is disussed in go-gitea/gitea#31636 2. Org description already has `overflow-wrap: anywhere` to ensure no overflow. Co-authored-by: Giteabot <teabot@gitea.io>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Hello!
On the sidebar of an issue, the Milestones (and Projects) section can be long enough to fit on multiples lines:

However, the text is wrapped immediately, due to the

word-break: break-all;
property. I suggest to set it to a more gentle break likeword-break: break-word;
or just use the default behaviour:We could also rely on the

text-overflow: ellipsis;
CSS rule to truncate the text and leave it on 1 line, though it's a little more tricky to implement it with the flexbox.What do you think?
Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker latest from DockerHub
Database
SQLite
The text was updated successfully, but these errors were encountered: