1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +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
This commit is contained in:
Adrian Hirt 2024-08-17 05:34:27 +02:00 committed by GitHub
parent 951f02ff1c
commit 61aaf34401
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -863,6 +863,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 */