Commit 3a527d01 authored by Jonne Haß's avatar Jonne Haß Committed by Steffen van Bergerem

Remove top margin for first heading in a post

That is, if it's the first element in the post

closes #6110
parent bff18523
......@@ -2,6 +2,7 @@
## Refactor
* Update perfect-scrollbar [#6085](https://github.com/diaspora/diaspora/pull/6085)
* Remove top margin for first heading in a post [#6110](https://github.com/diaspora/diaspora/pull/6110)
## Bug fixes
* Precompile facebox images [#6105](https://github.com/diaspora/diaspora/pull/6105)
......
......@@ -8,4 +8,10 @@
&:first-child { margin-top: 0; }
&:last-child { margin-bottom: 0; }
}
h1, h2, h3, h4, h5, h6 {
&:first-child {
margin-top: 0;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment