From eaede2258800f274ac89e7b05f09ee1dee9ae811 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 17 Feb 2023 18:43:02 +0100 Subject: [PATCH] Fix overflowing diffs by adding scrollbars Signed-off-by: Ferdinand Thiessen --- web_src/less/_repository.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 39362722de535..f7087d4d30519 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -3187,6 +3187,7 @@ td.blob-excerpt { } #diff-file-boxes { flex: 1; + max-width: 100%; } #diff-file-tree { @@ -3295,6 +3296,10 @@ td.blob-excerpt { } } +.diff-file-body { + overflow-x: scroll; +} + .diff-stats-bar { display: inline-block; background-color: var(--color-red);