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 user search display name #29002

Merged
merged 11 commits into from
Feb 1, 2024
3 changes: 3 additions & 0 deletions web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ a.label,

.ui.search > .results .result {
background: var(--color-body);
border-color: var(--color-secondary);
display: flex;
align-items: center;
wxiaoguang marked this conversation as resolved.
Show resolved Hide resolved
}

.ui.search > .results .result .title {
Expand Down
7 changes: 5 additions & 2 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -2128,14 +2128,17 @@
}

#search-user-box .results .result .image {
float: left;
margin-right: 8px;
order: 0;
margin-right: 12px;
width: 2em;
height: 2em;
min-width: 2em;
min-height: 2em;
}

#search-user-box .results .result .content {
margin: 6px 0; /* this trick is used to align with the sibling avatar image */
overflow-wrap: anywhere;
silverwind marked this conversation as resolved.
Show resolved Hide resolved
silverwind marked this conversation as resolved.
Show resolved Hide resolved
}

.ui.menu .item > img:not(.ui) {
Expand Down
Loading