From 9144ea2b1db337bd20c32d78bb41493e79f5cb06 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 28 Jan 2017 09:47:16 -0500 Subject: Fix inappropriate CSS rule for Markdown on wiki page (#3766) --- public/css/gogs.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'public/css') diff --git a/public/css/gogs.css b/public/css/gogs.css index f8c4ba7a..c8d6f2ce 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -2162,15 +2162,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 { -- cgit v1.2.3