consistent post top margins

This commit is contained in:
Jeff Atwood 2015-01-12 00:35:04 -08:00
parent 8d49aec789
commit 5f05e1394b
2 changed files with 6 additions and 1 deletions

View File

@ -122,6 +122,12 @@ aside.quote {
background-color: dark-light-diff($wiki, $secondary, 95%, -50%);
}
// this ensures consistent top margin on topic posts even if the first line of a post
// is a top-margin-less element like a list or image.
.topic-body .contents {
margin-top: 15px;
}
.post-info {
&.wiki, &.via-email {
margin-right: 5px;

View File

@ -735,7 +735,6 @@ $topic-avatar-width: 45px;
padding: 12px $topic-body-width-padding 15px $topic-body-width-padding;
&.highlighted {
background-color: dark-light-diff($tertiary, $secondary, 90%, -40%);
}
}
.topic-avatar {