Skip to content

Commit a8d2982

Browse files
committed
CommitView: Don't always display a horizontal scrollbar
This is based on work from Ben Alpert.
1 parent 2c09405 commit a8d2982

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

html/diff_style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ pre code {
3333
margin: 5px;
3434
margin-left: 20px;
3535
font-family: Monaco;
36+
width: auto;
3637
}
3738

3839
#CurrentHunk {
@@ -55,5 +56,6 @@ table.diff {
5556
padding-right: 2px;
5657
background-color: #ECECEC;
5758
color: #A9A9A9;
58-
border: 1px solid #A9A9A9;
59+
border: 1px solid #DDDDDD;
60+
text-align: right;
5961
}

0 commit comments

Comments
 (0)