Commit 79a3ee24 authored by Aron Carroll's avatar Aron Carroll

Merge pull request #1831 from hypothesis/1808-fix-cc0-message-style-alt

Remove negative margin on thread reply counts.
parents 368fc518 928842d8
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
font-family: $sans-font-family; font-family: $sans-font-family;
font-weight: 300; font-weight: 300;
position: relative; position: relative;
@include pie-clearfix;
&:hover .annotation-timestamp, &:hover .reply-count { &:hover .annotation-timestamp, &:hover .reply-count {
color: $link-color; color: $link-color;
...@@ -20,10 +19,15 @@ ...@@ -20,10 +19,15 @@
&:focus { outline: 0; } &:focus { outline: 0; }
} }
.annotation-header { margin-bottom: .8em } .annotation-section,
.annotation-section { margin: .8em 0 } .annotation-header,
.annotation-target { margin: .8em 0 } .annotation-footer {
.annotation-footer { margin-top: .8em } @include pie-clearfix;
margin: .8em 0;
}
.annotation-header { margin-top: 0 }
.annotation-footer { margin-bottom: 0 }
.annotation-user { .annotation-user {
color: $text-color; color: $text-color;
......
...@@ -22,6 +22,7 @@ $threadexp-width: .6em; ...@@ -22,6 +22,7 @@ $threadexp-width: .6em;
} }
.thread { .thread {
@include pie-clearfix;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
...@@ -101,7 +102,7 @@ $threadexp-width: .6em; ...@@ -101,7 +102,7 @@ $threadexp-width: .6em;
} }
.thread-message { .thread-message {
margin-bottom: .8em; margin-bottom: .5em;
} }
.thread-deleted { .thread-deleted {
...@@ -109,11 +110,6 @@ $threadexp-width: .6em; ...@@ -109,11 +110,6 @@ $threadexp-width: .6em;
margin-bottom: 2.8em; margin-bottom: 2.8em;
} }
.thread-reply {
margin-top: -2.153em;
margin-bottom: .8em;
}
.thread-message:hover + .thread-reply { .thread-message:hover + .thread-reply {
.reply-count { .reply-count {
color: $link-color; color: $link-color;
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</header> </header>
<!-- Excerpts --> <!-- Excerpts -->
<section class="annotation-target" <section class="annotation-section"
ng-repeat="target in vm.annotation.target track by $index"> ng-repeat="target in vm.annotation.target track by $index">
<blockquote class="annotation-quote" <blockquote class="annotation-quote"
ng-hide="target.diffHTML && vm.showDiff" ng-hide="target.diffHTML && vm.showDiff"
......
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