aboutsummaryrefslogtreecommitdiffstats
path: root/public/less/_repository.less
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2019-04-29 23:08:04 +0300
committerGitHub <noreply@github.com>2019-04-29 23:08:04 +0300
commit9b9ec7847cd9e85f21fc10cd881e39d1fef66961 (patch)
tree36f131f912b4753ecd714366b90c062df51144ac /public/less/_repository.less
parentc64fe091d3f23187a9d6ce73d8659f002f6eb936 (diff)
downloadgitea-9b9ec7847cd9e85f21fc10cd881e39d1fef66961.tar.gz
gitea-9b9ec7847cd9e85f21fc10cd881e39d1fef66961.zip
Show scrollbar only when needed (#6802)
Diffstat (limited to 'public/less/_repository.less')
-rw-r--r--public/less/_repository.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 28ac3a105d..1621b5906a 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -326,9 +326,9 @@
.plain-text {
padding: 1em 2em 1em 2em;
}
-
+
pre {
- overflow: scroll;
+ overflow: auto;
}
.code-view {