mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix dashboard UI bugs and more (#14767)
This PR fixes a few UI bugs I spontaneously encountered: - Fixes emojis in repo titles getting head-cut and tail-cut in dashboard feed due to introduction of 1.25 em emojis at 1 em line-height, by simply using the original 1 3/7 em value of `semantic.css` - Fixes regression (too long repo names should be capped to 70%) in #13828 due to flex children not respecting properties like `overflow: hidden;`, and removes a block of dead style code - Follow-up to #14761, removes extraneous code for top navbar and correct right margin for Font Awesome - Fixes color emphasis inversion in arc-green theme for top right buttons (edit, delete) on commit view boxes
This commit is contained in:
@@ -98,8 +98,6 @@
|
||||
margin-left: .35rem;
|
||||
}
|
||||
|
||||
line-height: 1.2;
|
||||
|
||||
> .ui.grid {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
@@ -181,23 +179,8 @@
|
||||
margin-right: .25rem;
|
||||
}
|
||||
|
||||
.repo-owner-name-list {
|
||||
.item-name {
|
||||
max-width: 70%;
|
||||
margin-bottom: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
#collaborative-repo-list {
|
||||
.owner-and-repo {
|
||||
max-width: 80%;
|
||||
margin-bottom: -5px;
|
||||
}
|
||||
|
||||
.owner-name {
|
||||
max-width: 120px;
|
||||
margin-bottom: -5px;
|
||||
}
|
||||
.repo-owner-name-list .item-name {
|
||||
max-width: 70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user