summaryrefslogtreecommitdiffstats
path: root/public/less/_markdown.less
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-12 22:04:52 -0500
committerUnknwon <u@gogs.io>2015-12-12 22:04:52 -0500
commit4df378b89249bac5e7d707b6616e051271a9aea2 (patch)
tree153344bc7d27e32cdade6f8ddc4bd83ed0b75ca1 /public/less/_markdown.less
parent351dfc95a919dfa5cd7931ffb8f35f39b88bd3df (diff)
downloadgitea-4df378b89249bac5e7d707b6616e051271a9aea2.tar.gz
gitea-4df378b89249bac5e7d707b6616e051271a9aea2.zip
fix markdown header margin-top
Diffstat (limited to 'public/less/_markdown.less')
-rw-r--r--public/less/_markdown.less6
1 files changed, 5 insertions, 1 deletions
diff --git a/public/less/_markdown.less b/public/less/_markdown.less
index 2321724bd3..f12d504f9c 100644
--- a/public/less/_markdown.less
+++ b/public/less/_markdown.less
@@ -6,7 +6,7 @@
word-wrap: break-word;
&.file-view {
- padding: 5px 2em 2em !important;
+ padding: 2em 2em 2em !important;
}
>*:first-child {
@@ -51,6 +51,10 @@
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
+
+ &:first-of-type {
+ margin-top: 0 !important;
+ }
}
h1 .octicon-link,