UX: Adjustments for embedded reply collapse button

This commit is contained in:
Kris 2018-01-19 16:16:22 -05:00
parent 5b820ebb62
commit 2de1264213
1 changed files with 7 additions and 9 deletions

View File

@ -204,6 +204,7 @@ nav.post-controls {
.embedded-posts {
h1, h2, h3 { margin: 10px 0; }
border: 1px solid $primary-low;
.topic-body {
box-sizing: border-box;
@ -211,7 +212,7 @@ nav.post-controls {
// WARNING: overflow hide is required for quoted / embedded images
// which expect "normal" post width, but expansions are narrower
overflow: hidden;
padding: 15px 15px 0 15px;
padding: 15px 25px 0 15px;
}
// this is covered by .topic-body .regular on a normal post
@ -225,10 +226,6 @@ nav.post-controls {
padding-top: 15px;
}
.row {
border: 1px solid $primary-low;
}
.collapse-down, .collapse-up {
position: absolute;
color: $primary-medium;
@ -244,6 +241,8 @@ nav.post-controls {
// bottom means "reply expansion" below a post
&.bottom {
border-top: none;
margin-bottom: 20px;
&.hidden {
display: block;
opacity: 0;
@ -255,8 +254,6 @@ nav.post-controls {
}
.row {
padding-bottom: .5em;
border-top: none;
border-bottom: none;
.topic-avatar, .topic-body {
border-top: 1px solid $primary-low;
}
@ -265,11 +262,12 @@ nav.post-controls {
// top means "in reply to expansion" above a post
&.top {
border-bottom: none;
.collapse-down {
transform: translate(-50%, 55%);
}
margin-left: 56px;
width: 701px;
width: 699px;
.row {
border-bottom: none;
.topic-avatar, .topic-body {