mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 08:32:16 +00:00
Fix overflowing content in action run log (#31842)
When a long line with characters such as dots is returned by a step in
an action (e.g. by the output of the Ruby on Rails test runner), it
overflows the log container, causing the page to scroll sideways.
This PR adds the CSS `overflow-wrap: anywhere;` to the
`.job-step-section .job-step-logs .job-log-line .log-msg` selector,
which causes such lines to wrap as well
(cherry picked from commit 61aaf3440142d225802e3e9ce3db28bcf71f5a7e)
(cherry picked from commit 1dfa11551c
)
This commit is contained in:
parent
d5fec46de7
commit
9a142e3fd1
|
@ -878,6 +878,7 @@ export function initRepositoryActionView() {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* selectors here are intentionally exact to only match fullscreen */
|
/* selectors here are intentionally exact to only match fullscreen */
|
||||||
|
|
Loading…
Reference in a new issue