Skip to content

Commit 61aaf34

Browse files
authored
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 951f02f commit 61aaf34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/components/RepoActionView.vue

+1
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ export function initRepositoryActionView() {
863863
word-break: break-all;
864864
white-space: break-spaces;
865865
margin-left: 10px;
866+
overflow-wrap: anywhere;
866867
}
867868
868869
/* selectors here are intentionally exact to only match fullscreen */

0 commit comments

Comments
 (0)