Skip to content
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 display of long user profile emails in the web UI #7255

Closed
SilverWolf32 opened this issue Jun 19, 2019 · 0 comments · Fixed by #7333
Closed

Improve display of long user profile emails in the web UI #7255

SilverWolf32 opened this issue Jun 19, 2019 · 0 comments · Fixed by #7333
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@SilverWolf32
Copy link

On the web interface's user profile page, if you have a very long email it spills out of the infobox into the repositories section.

Problem

(I use the Arc Green theme in the screenshots, but it happens on both included themes.)

A slight tweak to the CSS in Firefox's developer tools neatly solves the problem:

.user.profile .ui.card .extra.content ul li {
	overflow: scroll;
	display: flex;
}

Proposed solution

This scrolls to view the entire address, as you would expect.

If display: flex; is not included, it simply degrades to having the mail icon above the address, as it is now.

(I've opened a pull request for this change as well.)

@lunny lunny added type/bug topic/ui Change the appearance of the Gitea UI labels Jun 20, 2019
Cherrg added a commit to Cherrg/gitea that referenced this issue Jun 30, 2019
fix go-gitea#7255

discussed in PR go-gitea#7254

Signed-off-by: Michael Gnehr <michael@gnehr.de>
techknowlogick pushed a commit that referenced this issue Jul 1, 2019
fix #7255

discussed in PR #7254

Signed-off-by: Michael Gnehr <michael@gnehr.de>
jeffliu27 pushed a commit to jeffliu27/gitea that referenced this issue Jul 18, 2019
fix go-gitea#7255

discussed in PR go-gitea#7254

Signed-off-by: Michael Gnehr <michael@gnehr.de>
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants