From e5d35c4deccd35a12b138d089dcd15a2c8ac18c1 Mon Sep 17 00:00:00 2001 From: zak Date: Tue, 20 Dec 2022 11:45:29 +1000 Subject: css: scroll file content x-axis only - we don't need any overflow scrolling for the y-axis. - set overflow-x to 'auto' so that the scroll bar only shows when the content does overflow. --- static/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 6d805a1..e5833fd 100644 --- a/static/style.css +++ b/static/style.css @@ -235,7 +235,8 @@ a:hover { .file-content { background: var(--light-gray); - overflow: scroll; + overflow-y: hidden; + overflow-x: auto; } .diff-type { -- cgit