1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

fix toggle commit body button ui when latest commit message is long (#32997) (#33034)

backport #32997 and #33002
This commit is contained in:
wxiaoguang
2024-12-30 01:54:23 +08:00
committed by GitHub
parent 7f0050cf39
commit ce6464123f
5 changed files with 18 additions and 171 deletions

View File

@@ -120,6 +120,7 @@ td .commit-summary {
align-items: center;
overflow: hidden;
text-overflow: ellipsis;
gap: 0.25em;
}
@media (max-width: 767.98px) {
@@ -1701,6 +1702,10 @@ tbody.commit-list {
white-space: nowrap;
}
.latest-commit .message-wrapper {
max-width: calc(100% - 2.5rem);
}
/* in the commit list, messages can wrap so we can use inline */
.commit-list .message-wrapper {
display: inline;