Fix CSS for wiki markdown (#1660)

This commit is contained in:
Jonas Östanbäck 2017-05-03 14:22:14 +02:00 committed by Lunny Xiao
parent 3edb0c5894
commit 59f5bbab0d
2 changed files with 8 additions and 8 deletions

View File

@ -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 {

View File

@ -1176,7 +1176,7 @@
.ui.sub.header {
text-transform: none;
}
.markdown {
>.markdown {
padding: 15px 30px;
h1, h2, h3, h4, h5, h6 {