Skip to content

Commit

Permalink
Fix overflowing content in action run log (go-gitea#31842)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Adrian-Hirt authored and GiteaBot committed Aug 17, 2024
1 parent 3fe1f73 commit e0be118
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_src/js/components/RepoActionView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,7 @@ export function initRepositoryActionView() {
word-break: break-all;
white-space: break-spaces;
margin-left: 10px;
overflow-wrap: anywhere;
}
/* selectors here are intentionally exact to only match fullscreen */
Expand Down

0 comments on commit e0be118

Please sign in to comment.