summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar zak <e-zk@users.noreply.github.com>2022-12-20 11:45:29 +1000
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-20 07:37:27 +0530
commite5d35c4deccd35a12b138d089dcd15a2c8ac18c1 (patch)
tree97d8c1285393705c49cb921204b81797b37f4795
parent42bce06630791cfe158f65769bb88e1a619b68e0 (diff)
downloadlegit-e5d35c4deccd35a12b138d089dcd15a2c8ac18c1.tar.gz
legit-e5d35c4deccd35a12b138d089dcd15a2c8ac18c1.tar.bz2
legit-e5d35c4deccd35a12b138d089dcd15a2c8ac18c1.zip
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.
-rw-r--r--static/style.css3
1 files changed, 2 insertions, 1 deletions
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 {