diff --git a/web/src/ui/timeline/ReplyBody.css b/web/src/ui/timeline/ReplyBody.css index d6f96c4..391b456 100644 --- a/web/src/ui/timeline/ReplyBody.css +++ b/web/src/ui/timeline/ReplyBody.css @@ -3,6 +3,7 @@ blockquote.reply-body { border-left: 2px solid var(--reply-border-color); padding: .25rem .5rem; + &.sender-color-null { --reply-border-color: var(--blockquote-border-color); } &.sender-color-0 { --reply-border-color: var(--sender-color-0); } &.sender-color-1 { --reply-border-color: var(--sender-color-1); } &.sender-color-2 { --reply-border-color: var(--sender-color-2); } diff --git a/web/src/ui/timeline/ReplyBody.tsx b/web/src/ui/timeline/ReplyBody.tsx index bf7dc36..1788baa 100644 --- a/web/src/ui/timeline/ReplyBody.tsx +++ b/web/src/ui/timeline/ReplyBody.tsx @@ -53,8 +53,11 @@ export const ReplyIDBody = ({ room, eventID, isThread, small }: ReplyIDBodyProps if (!event) { // This caches whether the event is requested or not, so it doesn't need to be wrapped in an effect. use(ClientContext)!.requestEvent(room, eventID) - return
- Reply to unknown event{eventID}
+ return+ {small && } + Reply to unknown event + {!small &&} return
} +{eventID}