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

Remove top margin for first heading in a post

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

closes #6110
parent bff18523
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
+6 −0
Original line number Diff line number Diff line
@@ -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;
    }
  }
}