Fix CSS for wiki markdown (#1660)

tokarchuk/v1.17
Jonas Östanbäck 8 years ago committed by Lunny Xiao
parent 3edb0c5894
commit 59f5bbab0d
  1. 14
      public/css/index.css
  2. 2
      public/less/_repository.less

@ -2227,15 +2227,15 @@ footer .ui.language .menu {
.repository.wiki.view .ui.sub.header { .repository.wiki.view .ui.sub.header {
text-transform: none; text-transform: none;
} }
.repository.wiki.view .markdown { .repository.wiki.view > .markdown {
padding: 15px 30px; padding: 15px 30px;
} }
.repository.wiki.view .markdown h1:first-of-type, .repository.wiki.view > .markdown h1:first-of-type,
.repository.wiki.view .markdown h2:first-of-type, .repository.wiki.view > .markdown h2:first-of-type,
.repository.wiki.view .markdown h3:first-of-type, .repository.wiki.view > .markdown h3:first-of-type,
.repository.wiki.view .markdown h4:first-of-type, .repository.wiki.view > .markdown h4:first-of-type,
.repository.wiki.view .markdown h5:first-of-type, .repository.wiki.view > .markdown h5:first-of-type,
.repository.wiki.view .markdown h6:first-of-type { .repository.wiki.view > .markdown h6:first-of-type {
margin-top: 0; margin-top: 0;
} }
.repository.settings.collaboration .collaborator.list { .repository.settings.collaboration .collaborator.list {

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

Loading…
Cancel
Save