aboutsummaryrefslogtreecommitdiffstats
path: root/public/less/_markdown.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2019-06-27 08:36:37 +0200
committerJonas Franz <info@jonasfranz.software>2019-06-27 08:36:36 +0200
commitc37ec66ee25b95525b9c8dfddd5a6f9a798150fe (patch)
tree4d941d3fa70d4a296157c90be075730af40f8158 /public/less/_markdown.less
parentda230412574daa9697b4cef24c7be6209b8884dc (diff)
downloadgitea-c37ec66ee25b95525b9c8dfddd5a6f9a798150fe.tar.gz
gitea-c37ec66ee25b95525b9c8dfddd5a6f9a798150fe.zip
replace lesshint with stylelint (#7305)
New CSS linter which is much more powerfull than the previous one. Configuration is default but I had to remove a few rules that were throwing too many or weird errors. More importantly, the linter will exit with code 1 on errors so now our build will fail if the CSS linter fails which should eliminate linter errors being introduced without notice.
Diffstat (limited to 'public/less/_markdown.less')
-rw-r--r--public/less/_markdown.less5
1 files changed, 1 insertions, 4 deletions
diff --git a/public/less/_markdown.less b/public/less/_markdown.less
index af46d6a3b2..e971248f6f 100644
--- a/public/less/_markdown.less
+++ b/public/less/_markdown.less
@@ -173,10 +173,6 @@
margin-bottom: 16px;
}
- blockquote {
- margin-left: 0;
- }
-
hr {
height: 4px;
padding: 0;
@@ -231,6 +227,7 @@
}
blockquote {
+ margin-left: 0;
padding: 0 15px;
color: #777777;
border-left: 4px solid #dddddd;