From 7a3aec1881cf001568f4e647aaf3bcd5c1afe50a Mon Sep 17 00:00:00 2001 From: naskya <m@naskya.net> Date: Thu, 23 May 2024 23:15:16 +0900 Subject: [PATCH] fix (client): notification reply-to style when the summary is long c04c071aecdb73522b5e8ec3d7734c7f9a85b0bd --- packages/client/src/components/note/MkNoteHeaderInfo.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/client/src/components/note/MkNoteHeaderInfo.vue b/packages/client/src/components/note/MkNoteHeaderInfo.vue index 702d062df8..99e314bd91 100644 --- a/packages/client/src/components/note/MkNoteHeaderInfo.vue +++ b/packages/client/src/components/note/MkNoteHeaderInfo.vue @@ -71,6 +71,7 @@ defineProps<{ .reply-to { color: var(--fgTransparentWeak); + text-overflow: ellipsis; .avatar { width: 1.2em; @@ -89,6 +90,12 @@ defineProps<{ content: ": "; } } + .summary { + display: inline-block; + max-width: 60%; + position: absolute; + } + &:hover, &:focus-within { color: var(--fg);