mirror of
https://github.com/discourse/discourse.git
synced 2025-04-26 02:34:29 +08:00
consistent post top margins
This commit is contained in:
parent
8d49aec789
commit
5f05e1394b
@ -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;
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user