Skip to content

Commit e0be118

Browse files
Adrian-HirtGiteaBot
authored andcommitted
Fix overflowing content in action run log (go-gitea#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
1 parent 3fe1f73 commit e0be118

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/components/RepoActionView.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,7 @@ export function initRepositoryActionView() {
861861
word-break: break-all;
862862
white-space: break-spaces;
863863
margin-left: 10px;
864+
overflow-wrap: anywhere;
864865
}
865866
866867
/* selectors here are intentionally exact to only match fullscreen */

0 commit comments

Comments
 (0)