summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2017-06-13 04:48:49 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-13 10:48:49 +0800
commit0168b7073d8dfb7cb0b5a1471e33fe02c7a13e83 (patch)
tree9909a52275f15f2b883eaab0a6691f6f210fbc73
parent889409ba311f04ac890423ec9c3d2618d7842167 (diff)
downloadgitea-0168b7073d8dfb7cb0b5a1471e33fe02c7a13e83.tar.gz
gitea-0168b7073d8dfb7cb0b5a1471e33fe02c7a13e83.zip
Use monospace font in githook editor (#1958)
-rw-r--r--public/css/index.css3
-rw-r--r--public/less/_form.less6
2 files changed, 9 insertions, 0 deletions
diff --git a/public/css/index.css b/public/css/index.css
index 35e56413b1..a12f33e18e 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -1166,6 +1166,9 @@ footer .ui.language .menu {
.new.webhook .events.fields .column {
padding-left: 40px;
}
+.githook textarea {
+ font-family: monospace;
+}
.repository {
padding-top: 15px;
padding-bottom: 80px;
diff --git a/public/less/_form.less b/public/less/_form.less
index 4542c092db..5a6810ec9c 100644
--- a/public/less/_form.less
+++ b/public/less/_form.less
@@ -140,3 +140,9 @@
}
}
}
+
+.githook {
+ textarea {
+ font-family: monospace;
+ }
+}