-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Improve user search display name #29002
Conversation
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.
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.
XSS (feel free to dismiss this change request if the concern has been addressed)
That's strange because Fomantic escapes the text... |
No. See |
Maybe there are some nits. eg: the misalignment (when the item has "description") (since it has got lgtm/done, so this comment is just FYI, no blocker) |
Right, the avatar is misaligned on the item with description. Retracting review for now. Likely needs a CSS fix. |
That's just the default style of Fomantic. Feel free to change whatever CSS is needed. |
I will take a look later. Likely our avatars are unsupported usage of fomantic that's causing the misalignment, so we need a CSS fix. |
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Thank you for adjusting the styles. 👍 |
* giteaofficial/main: Wrap contained tags and branches again (go-gitea#29021) Avoid sending update/delete release notice when it is draft (go-gitea#29008) Fix incorrect button CSS usages (go-gitea#29015) Strip trailing newline in markdown code copy (go-gitea#29019) Improve user search display name (go-gitea#29002)
I tripped over this strange method and I don't think we need that workaround to fix the value. old: ![grafik](https://github.com/go-gitea/gitea/assets/1666336/c8b6797b-eb45-4dec-99db-1b0649a34ec5) new: ![grafik](https://github.com/go-gitea/gitea/assets/1666336/ab1a65ae-de5b-4ce4-9813-3b8b39c7922e) --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
I tripped over this strange method and I don't think we need that workaround to fix the value.
old:
new: