summaryrefslogtreecommitdiffstats
path: root/public/css
diff options
context:
space:
mode:
authorJonas Östanbäck <cez81@users.noreply.github.com>2017-05-03 14:22:14 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-05-03 20:22:14 +0800
commit59f5bbab0d6c1aa00fd58140860093331ab0140f (patch)
tree03d01f050a9b1643d621a0b519b2eac059a009ec /public/css
parent3edb0c58943c003ed3f209b2197d1f43484a3432 (diff)
downloadgitea-59f5bbab0d6c1aa00fd58140860093331ab0140f.tar.gz
gitea-59f5bbab0d6c1aa00fd58140860093331ab0140f.zip
Fix CSS for wiki markdown (#1660)
Diffstat (limited to 'public/css')
-rw-r--r--public/css/index.css14
1 files changed, 7 insertions, 7 deletions
diff --git a/public/css/index.css b/public/css/index.css
index 3fa2d6d0fd..9ed282ade2 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -2227,15 +2227,15 @@ footer .ui.language .menu {
.repository.wiki.view .ui.sub.header {
text-transform: none;
}
-.repository.wiki.view .markdown {
+.repository.wiki.view > .markdown {
padding: 15px 30px;
}
-.repository.wiki.view .markdown h1:first-of-type,
-.repository.wiki.view .markdown h2:first-of-type,
-.repository.wiki.view .markdown h3:first-of-type,
-.repository.wiki.view .markdown h4:first-of-type,
-.repository.wiki.view .markdown h5:first-of-type,
-.repository.wiki.view .markdown h6:first-of-type {
+.repository.wiki.view > .markdown h1:first-of-type,
+.repository.wiki.view > .markdown h2:first-of-type,
+.repository.wiki.view > .markdown h3:first-of-type,
+.repository.wiki.view > .markdown h4:first-of-type,
+.repository.wiki.view > .markdown h5:first-of-type,
+.repository.wiki.view > .markdown h6:first-of-type {
margin-top: 0;
}
.repository.settings.collaboration .collaborator.list {