enhance: improve commit page header (#39229)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
silverwind
2026-09-06 11:27:04 +02:00
committed by GitHub
co-authored by wxiaoguang
parent 7c280c0ce6
commit 87d5497da0
10 changed files with 54 additions and 108 deletions
+2 -3
View File
@@ -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
View File
@@ -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;
}