mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-07 13:33:24 +09:00
enhance: improve commit page header (#39229)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -23,9 +23,8 @@ img.ui.avatar,
|
||||
max-width: 240px;
|
||||
}
|
||||
|
||||
/* use semibold for latest commit author */
|
||||
.latest-commit .avatar-stack-names > a,
|
||||
.latest-commit .avatar-stack-names > .avatar-stack-popup-trigger {
|
||||
.avatar-stack-names > a,
|
||||
.avatar-stack-names > .avatar-stack-popup-trigger {
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
|
||||
+2
-10
@@ -131,7 +131,8 @@
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.commit-summary {
|
||||
.latest-commit .commit-summary,
|
||||
.repo-file-item .commit-summary {
|
||||
flex: 1;
|
||||
overflow-wrap: anywhere;
|
||||
overflow: hidden;
|
||||
@@ -139,11 +140,6 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.commit-header .commit-summary,
|
||||
td .commit-summary {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.latest-commit {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
@@ -1686,10 +1682,6 @@ tbody.commit-list {
|
||||
.repository.view.issue .comment-list .comment-header-right .role-label {
|
||||
display: none;
|
||||
}
|
||||
.commit-header h3 {
|
||||
flex-basis: auto !important;
|
||||
margin-bottom: 0.5rem !important;
|
||||
}
|
||||
.commit-table {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user