aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorAdrian Hirt <13788379+Adrian-Hirt@users.noreply.github.com>2024-08-17 05:34:27 +0200
committerGitHub <noreply@github.com>2024-08-16 23:34:27 -0400
commit61aaf3440142d225802e3e9ce3db28bcf71f5a7e (patch)
tree6d57ffe29980b114012f835bac52006a4ae9d8d7 /web_src
parent951f02ff1ccdc5b7a8fc7389997798a9c2c8f332 (diff)
downloadgitea-61aaf3440142d225802e3e9ce3db28bcf71f5a7e.tar.gz
gitea-61aaf3440142d225802e3e9ce3db28bcf71f5a7e.zip
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
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/components/RepoActionView.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue
index 7b5d00aa0f..7adc29ad41 100644
--- a/web_src/js/components/RepoActionView.vue
+++ b/web_src/js/components/RepoActionView.vue
@@ -863,6 +863,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 */