all repos — legit @ e5d35c4deccd35a12b138d089dcd15a2c8ac18c1

fork of git.icyphox.sh/legit

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.
zak e-zk@users.noreply.github.com
Tue, 20 Dec 2022 11:45:29 +1000
commit

e5d35c4deccd35a12b138d089dcd15a2c8ac18c1

parent

42bce06630791cfe158f65769bb88e1a619b68e0

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M static/style.cssstatic/style.css

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

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