Browse Source

Fix inappropriate CSS rule for Markdown on wiki page (#3766)

pull/3335/merge
Unknwon 8 years ago
parent
commit
9144ea2b1d
No known key found for this signature in database
GPG Key ID: FB9F411CDD69BEC1
  1. 14
      public/css/gogs.css
  2. 2
      public/less/_repository.less

14
public/css/gogs.css

@ -2162,15 +2162,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 {

2
public/less/_repository.less

@ -1158,7 +1158,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