diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2021-08-11 00:49:38 -0400 |
|---|---|---|
| committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-07 19:19:31 -0500 |
| commit | ba8598858b4a90d25b76a515dc6a9125d2809f9d (patch) | |
| tree | 58176e3787ed30c5442153318f80aebd485bd91e /src/components/conversation | |
| parent | 17863f54fef4203365aa2b7ce58da3bb9bb3cc8c (diff) | |
Optimise thread ancestor borders
Diffstat (limited to 'src/components/conversation')
| -rw-r--r-- | src/components/conversation/conversation.vue | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index f0e118e5..9aea7b20 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -220,7 +220,6 @@ //border-left: 2px solid var(--border, $fallback--border); } - /* HACK: we want the border width to scale with the status *below it* */ .conversation-status { border-bottom-width: 1px; border-bottom-style: solid; @@ -229,10 +228,18 @@ } .thread-ancestor-has-other-replies .conversation-status, + .thread-ancestor:last-child .conversation-status, + .thread-ancestor:last-child .thread-ancestor-dive-box, &.-expanded .thread-tree .conversation-status { border-bottom: none; } + .thread-ancestors + .thread-tree > .conversation-status { + border-top-width: 1px; + border-top-style: solid; + border-top-color: var(--border, $fallback--border); + } + /* expanded conversation in timeline */ &.status-fadein.-expanded .thread-body { border-left-width: 4px; |
