-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Package description in pre tag might cause text go out of borders #33197
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
@silverwind The screenshot shows |
I'd personally would rather have it wrap, e.g. Ideally the decision to wrap such content and code in general should be a per-user setting, as I already mentioned in #34009. |
You also need something like |
The way this "code block" renders looks very strange (no border, no background, no copy button). We should make this package description markup render like every other markup like in a README, then all issues will resolve themselves automatically. |
Description
If you have markdown description with code block for (at least python) package in Gitea it might cause text go out of borders. See screenshot
Expected behaviour: description section has
overflow-x: scroll
style to show scroll bar if text is too longGitea Version
1.23.1
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Official release pre-built binary
Database
None
The text was updated successfully, but these errors were encountered: