From 24390f1d99616c92589e324a317c48fe383689b0 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Sat, 17 Jun 2023 16:35:11 -0400 Subject: [PATCH] reply line fixes --- packages/client/src/components/MkNote.vue | 5 +++-- packages/client/src/components/MkNoteSub.vue | 9 ++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 8bf8fae62a..faca815291 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -619,10 +619,11 @@ defineExpose({ .line::before { content: ""; display: block; - margin-bottom: -10px; + margin-bottom: -4px; margin-top: 16px; - border-left: 2px solid var(--X13); + border-left: 2px solid currentColor; margin-left: calc((var(--avatarSize) / 2) - 1px); + opacity: .25; } } } diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index 62fcf7b349..e4f3f4d094 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -431,6 +431,7 @@ function noteClick(e) { > .avatar-container { margin-right: 8px; + z-index: 2; > .avatar { flex-shrink: 0; display: block; @@ -651,10 +652,11 @@ function noteClick(e) { flex-grow: 1; margin-bottom: -10px; pointer-events: none; + opacity: .25; &::before { content: ""; position: absolute; - border-left: 2px solid var(--X13); + border-left: 2px solid currentColor; margin-left: calc((var(--avatarSize) / 2) - 1px); width: calc(var(--indent) / 2); inset-block: 0; @@ -692,11 +694,12 @@ function noteClick(e) { z-index: 2; left: 0; top: 0; + opacity: .25; &::after { content: ""; position: absolute; - border-left: 2px solid var(--X13); - border-bottom: 2px solid var(--X13); + border-left: 2px solid currentColor; + border-bottom: 2px solid currentColor; margin-left: calc((var(--avatarSize) / 2) - 1px); width: calc(var(--indent) / 2); height: calc((var(--avatarSize) / 2));