diff --git a/lms/static/sass/_discussion.scss b/lms/static/sass/_discussion.scss index 79c853f42d..43d5266f89 100644 --- a/lms/static/sass/_discussion.scss +++ b/lms/static/sass/_discussion.scss @@ -1052,14 +1052,17 @@ body.discussion { } a { - position: relative; display: block; - height: 36px; + position: relative; + float: left; + clear: both; + width: 100%; padding: 0 10px 0 18px; margin-bottom: 1px; margin-right: -1px; @include linear-gradient(top, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); background-color: #fff; + @include clearfix; &:hover { @include linear-gradient(top, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); @@ -1096,9 +1099,13 @@ body.discussion { } .title { + display: block; + float: left; + width: 70%; + margin: 8px 0 10px; font-size: 13px; font-weight: 700; - line-height: 34px; + line-height: 1.4; color: #333; } @@ -1121,7 +1128,7 @@ body.discussion { content: ''; position: absolute; top: 0; - right: 1px; + right: 0; width: 10px; height: 12px; background: url(../images/following-flag.png) no-repeat; @@ -1164,14 +1171,16 @@ body.discussion { } } - .title { - display: block; - float: left; - width: 70%; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - } + // .title { + // display: block; + // float: left; + // width: 70%; + // margin: 6px 0; + // line-height: 1.4; + // white-space: nowrap; + // text-overflow: ellipsis; + // overflow: hidden; + // } .votes-count, .comments-count { @@ -1179,7 +1188,7 @@ body.discussion { float: right; width: 32px; height: 16px; - margin-top: 9px; + margin-top: 8px; border-radius: 2px; @include linear-gradient(top, #d4d4d4, #dfdfdf); font-size: 11px;