Commit f6a1a0df by frances botsford

Merge pull request #10321 from edx/frances/teams-post-style-fix

Teams Discussion Post Style Fixes
parents e3369beb feacd0fb
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// ==================== // ====================
// NOTE: thread = (post + (responses and comments)) // NOTE: thread = (post + (responses and comments))
// Table of Contents // Table of Contents
// * +general thread layout // * +general thread layout
// * +thread - wrapper styling // * +thread - wrapper styling
// * +thread - elements - shared styles // * +thread - elements - shared styles
...@@ -25,7 +25,7 @@ body.discussion, .discussion-module { ...@@ -25,7 +25,7 @@ body.discussion, .discussion-module {
.post-header-content { .post-header-content {
display: inline-block; display: inline-block;
width: flex-grid(9,12); width: flex-grid(9,12);
} }
.post-header-actions { .post-header-actions {
...@@ -88,14 +88,14 @@ body.discussion { ...@@ -88,14 +88,14 @@ body.discussion {
.discussion-post, .discussion-response, .discussion-comment { .discussion-post, .discussion-response, .discussion-comment {
@include clearfix(); @include clearfix();
// thread - images // thread - images
.author-image { .author-image {
@include margin-right($baseline/2); @include margin-right($baseline/2);
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
// STATE: No profile image // STATE: No profile image
&:empty { &:empty {
display: none; display: none;
} }
...@@ -146,7 +146,10 @@ body.discussion { ...@@ -146,7 +146,10 @@ body.discussion {
} }
// +post - individual element styling // +post - individual element styling
body.discussion .discussion-post, body.discussion .discussion-article { body.discussion .discussion-post,
body.discussion .discussion-article,
body.view-in-course .discussion-post,
body.view-in-course .discussion-article {
// NOTE: discussion-article is used for inline discussion modules. // NOTE: discussion-article is used for inline discussion modules.
@include clearfix(); @include clearfix();
......
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