summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-09-02 19:24:38 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-09-02 19:24:38 +0200
commit4594caf9b7206d5e831980caac9781c8df8e2744 (patch)
treeb0033e9bb99a13bb2db4a57ac3770a6af4a504f6
parent07e4637e3cd8c79a30f4d9e38d2e0001da4bed8a (diff)
downloadwekan-4594caf9b7206d5e831980caac9781c8df8e2744.tar.gz
wekan-4594caf9b7206d5e831980caac9781c8df8e2744.tar.bz2
wekan-4594caf9b7206d5e831980caac9781c8df8e2744.zip
Add an horizontal scrollbar on code snippets
Fixes #260
-rw-r--r--client/components/main/layouts.styl5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/components/main/layouts.styl b/client/components/main/layouts.styl
index e9367b11..65239cd6 100644
--- a/client/components/main/layouts.styl
+++ b/client/components/main/layouts.styl
@@ -317,6 +317,11 @@ a
list-style-type: initial
padding-left: 20px
+ pre
+ padding: 10px 12px 7px
+ background: darken(white, 13%)
+ overflow-y: auto
+
.basicTabs-container .tabs-content-container
padding: 0
padding-top: 15px