git-preview @ main

static git web frontend but with images and html previews + code truncation

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.
Tue, 20 Dec 2022
1 files changed, 2 insertions(+), 1 deletions(-)
M static/style.css

@@ -235,7 +235,8 @@ }

.file-content { background: var(--light-gray); - overflow: scroll; + overflow-y: hidden; + overflow-x: auto; } .diff-type {