Merge pull request '[gitea] week 2024-20 cherry pick (gitea-github/main -> forgejo)' (#3729) from earl-warren/wcp/2024-20 into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3729
Reviewed-by: twenty-panda <twenty-panda@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-05-14 12:23:10 +00:00
commit 1b3e6a4831
55 changed files with 806 additions and 328 deletions

View file

@ -898,6 +898,7 @@ input:-webkit-autofill:active,
font-weight: var(--font-weight-normal);
margin: 0 6px;
padding: 5px 10px;
flex-shrink: 0;
}
.ui .sha.label .shortsha {

View file

@ -5,8 +5,7 @@
color: var(--color-console-fg);
font-family: var(--fonts-monospace);
border-radius: var(--border-radius);
word-break: break-word;
overflow-wrap: break-word;
overflow-wrap: anywhere;
}
.console img { max-width: 100%; }

View file

@ -5,7 +5,6 @@ Gitea's private styles use `g-` prefix.
.gt-word-break {
word-wrap: break-word !important;
word-break: break-word; /* compat: Safari */
overflow-wrap: anywhere;
}

View file

@ -418,7 +418,7 @@ td .commit-summary {
}
.repository.file.list .non-diff-file-content .plain-text pre {
word-break: break-word;
overflow-wrap: anywhere;
white-space: pre-wrap;
}
@ -2487,14 +2487,10 @@ tbody.commit-list {
.commit-body {
margin: 0.25em 0;
white-space: pre-wrap;
overflow-wrap: anywhere;
line-height: initial;
}
/* PR-comment */
.repository .timeline-item .commit-body {
margin-left: 45px;
}
.git-notes.top {
text-align: left;
}

View file

@ -59,7 +59,7 @@
color: var(--color-text);
font-size: 16px;
font-weight: var(--font-weight-semibold);
word-break: break-word;
overflow-wrap: anywhere;
min-width: 0;
}
@ -74,7 +74,7 @@
flex-wrap: wrap;
gap: .25rem;
color: var(--color-text-light-2);
word-break: break-word;
overflow-wrap: anywhere;
}
.flex-item .flex-item-body a {