diff --git a/app/assets/stylesheets/atoms/_a-user-name.sass b/app/assets/stylesheets/atoms/_a-user-name.sass index dbcdb8a8316..2e9fc209110 100644 --- a/app/assets/stylesheets/atoms/_a-user-name.sass +++ b/app/assets/stylesheets/atoms/_a-user-name.sass @@ -2,6 +2,7 @@ color: $muted-text font-size: .8125rem line-height: 1.4 + white-space: nowrap a.a-user-name +hover-link diff --git a/app/assets/stylesheets/blocks/thread/_thread-list-item.sass b/app/assets/stylesheets/blocks/thread/_thread-list-item.sass index fe731624ded..3ea3f3825de 100644 --- a/app/assets/stylesheets/blocks/thread/_thread-list-item.sass +++ b/app/assets/stylesheets/blocks/thread/_thread-list-item.sass @@ -37,19 +37,15 @@ color: $reversal-text border-color: #b50f38 - .thread-list-item__inner +position(relative) padding-left: 3.75rem +media-breakpoint-down(sm) padding-left: 3rem - .thread-list-item.has-assigned & - +media-breakpoint-up(md) - padding-right: 8.75rem .thread-list-item__assignee +media-breakpoint-up(md) - +position(absolute, right 0, top 0) + +position(absolute, right -.5rem, top -.25rem) width: 8rem +media-breakpoint-down(sm) margin-top: .75rem @@ -118,14 +114,19 @@ opacity: .6 .thread-list-item__row-separator - // TODO resetに移す - border: none - margin-bottom: .25rem border-top: dashed 1px $border + height: 1px + +media-breakpoint-up(md) + +margin(vertical, .5rem) + +media-breakpoint-down(sm) + +margin(vertical, .75rem .25rem) .thread-list-item__row &:not(:first-child) margin-top: .25rem + .thread-list-item.has-assigned &:first-child + +media-breakpoint-up(md) + padding-right: 8.5rem .thread-list-item__show-user-detail +position(absolute, top 0) diff --git a/app/javascript/comments.vue b/app/javascript/comments.vue index a2e4f828e1d..84dcaa61f22 100644 --- a/app/javascript/comments.vue +++ b/app/javascript/comments.vue @@ -1,7 +1,7 @@