Commit 428c4fc6 authored by Robert Knight's avatar Robert Knight

Merge pull request #3300 from hypothesis/sheetaluk/336-reply-threading

Remove extra margin set by first and last p in an annotation body.
parents fe597913 718021ff
......@@ -43,7 +43,19 @@
.markdown-body {
@include styled-text;
p {
margin: 0;
// Margin between bottom of ascent of username and top of
// x-height of annotation-body should be ~15px.
// Remove additional margin-top added by the first p within
// the annotation-body
p:first-child {
margin-top: 0;
}
// Margin between bottom of ascent of annotation-body and top of
// ascent of annotation-footer should be ~15px in threaded-replies
// and 20px in the top level annotation.
// Remove additional margin-bottom added by the last p within
// the annotation-body
p:last-child {
margin-bottom: 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