mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-27 20:08:49 +03:00
Backport #31842 by @Adrian-Hirt 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 (see first screenshot):  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 (see second screenshot in which the line wraps nicely):  Co-authored-by: Adrian Hirt <13788379+Adrian-Hirt@users.noreply.github.com>
This commit is contained in:
@ -861,6 +861,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 */
|
||||||
|
Reference in New Issue
Block a user