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:
parent
42bce06630
commit
e5d35c4dec
1 changed files with 2 additions and 1 deletions
|
@ -235,7 +235,8 @@ a:hover {
|
|||
|
||||
.file-content {
|
||||
background: var(--light-gray);
|
||||
overflow: scroll;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.diff-type {
|
||||
|
|
Loading…
Reference in a new issue