1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

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 {