From 8eea0d5bbc01d6a66c092856b35eb1f2d61fd52f Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Thu, 2 Feb 2023 22:33:15 -0700 Subject: [PATCH] fix file view CSS so content fits horizontally and doesn't overscroll --- static/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 728c32e..901a8df 100644 --- a/static/style.css +++ b/static/style.css @@ -288,11 +288,17 @@ a:hover { margin-top: 0.5rem; } +tr { + display:flex; + flex-direction: row; +} + .file-content { background: var(--light-gray); overflow-y: hidden; overflow-x: auto; - display: block; + display: inline-block; + width: 100%; } .diff-type {