fix minor alignment issues with expanded posts

This commit is contained in:
Jeff Atwood 2015-06-04 00:10:35 -07:00 committed by Robin Ward
parent 59ab3a7b2b
commit 3a78783574

View File

@ -234,12 +234,18 @@ nav.post-controls {
// WARNING: overflow hide is required for quoted / embedded images // WARNING: overflow hide is required for quoted / embedded images
// which expect "normal" post width, but expansions are narrower // which expect "normal" post width, but expansions are narrower
overflow: hidden; overflow: hidden;
padding: 10px 15px 15px 15px; padding: 15px 15px 0 15px;
}
// this is covered by .topic-body .regular on a normal post
// but no such class structure exists for an embedded, expanded post
.cooked {
margin-top: 15px;
} }
.topic-avatar { .topic-avatar {
padding-left: 15px; padding-left: 15px;
padding-top: 0; padding-top: 15px;
} }
// bottom means "reply expansion" below a post // bottom means "reply expansion" below a post
@ -266,7 +272,7 @@ nav.post-controls {
padding-right: 0; padding-right: 0;
} }
.post-date { color: scale-color($primary, $lightness: 50%); } .post-date { color: scale-color($primary, $lightness: 60%); }
.fa-arrow-up, .fa-arrow-down { margin-left: 5px; } .fa-arrow-up, .fa-arrow-down { margin-left: 5px; }
.reply:first-of-type .row { border-top: none; } .reply:first-of-type .row { border-top: none; }
@ -282,7 +288,7 @@ nav.post-controls {
color: scale-color($primary, $lightness: 30%); color: scale-color($primary, $lightness: 30%);
} }
} }
.arrow {color: scale-color($primary, $lightness: 50%);} .arrow {color: scale-color($primary, $lightness: 60%);}
} }
.post-action { .post-action {