Skip to content

Commit

Permalink
Show scrollbar only when needed (go-gitea#6802)
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks committed Apr 29, 2019
1 parent 98d82a7 commit 292316a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/css/index.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions public/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@
padding: 1em 2em 1em 2em;
}

pre {
overflow: auto;
}

.code-view {
* {
font-size: 12px;
Expand Down

0 comments on commit 292316a

Please sign in to comment.