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.
This commit is contained in:
zak 2022-12-20 11:45:29 +10:00 committed by Anirudh Oppiliappan
parent 42bce06630
commit e5d35c4dec
1 changed files with 2 additions and 1 deletions

View File

@ -235,7 +235,8 @@ a:hover {
.file-content {
background: var(--light-gray);
overflow: scroll;
overflow-y: hidden;
overflow-x: auto;
}
.diff-type {