From 4af8bbb5c0199067ff7da7590aac4ef9f82bb78b Mon Sep 17 00:00:00 2001 From: ShittyKopper Date: Mon, 30 Oct 2023 08:05:54 +0300 Subject: [PATCH 1/4] fix: round timeline corners on noGap --- packages/frontend/src/components/MkDateSeparatedList.vue | 2 ++ packages/frontend/src/components/MkNotes.vue | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/frontend/src/components/MkDateSeparatedList.vue b/packages/frontend/src/components/MkDateSeparatedList.vue index 96687a3368..b5508af62e 100644 --- a/packages/frontend/src/components/MkDateSeparatedList.vue +++ b/packages/frontend/src/components/MkDateSeparatedList.vue @@ -178,6 +178,8 @@ export default defineComponent({ } .date-separated-list-nogap { + border-radius: var(--radius); + > * { margin: 0 !important; border: none; diff --git a/packages/frontend/src/components/MkNotes.vue b/packages/frontend/src/components/MkNotes.vue index 024599767e..76587ce141 100644 --- a/packages/frontend/src/components/MkNotes.vue +++ b/packages/frontend/src/components/MkNotes.vue @@ -55,6 +55,8 @@ defineExpose({ diff --git a/packages/frontend/src/components/MkNoteHeader.vue b/packages/frontend/src/components/MkNoteHeader.vue index f258b2a1b6..cabeeca8ce 100644 --- a/packages/frontend/src/components/MkNoteHeader.vue +++ b/packages/frontend/src/components/MkNoteHeader.vue @@ -56,6 +56,7 @@ async function menuVersions(viaKeyboard = false): Promise { display: flex; align-items: baseline; white-space: nowrap; + cursor: auto; /* not clickToOpen-able */ } .name { diff --git a/packages/frontend/src/components/MkNoteSimple.vue b/packages/frontend/src/components/MkNoteSimple.vue index b0e91e523e..e250140baa 100644 --- a/packages/frontend/src/components/MkNoteSimple.vue +++ b/packages/frontend/src/components/MkNoteSimple.vue @@ -73,7 +73,6 @@ watch(() => props.expandAllCws, (expandAllCws) => { } .cw { - cursor: default; display: block; margin: 0; padding: 0; diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index fa113ae2f8..965c9c6339 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -478,7 +478,6 @@ if (props.detail) { } .cw { - cursor: default; display: block; margin: 0; padding: 0; diff --git a/packages/frontend/src/components/MkReactionsViewer.vue b/packages/frontend/src/components/MkReactionsViewer.vue index 52ead19a4b..7dbc1b03a2 100644 --- a/packages/frontend/src/components/MkReactionsViewer.vue +++ b/packages/frontend/src/components/MkReactionsViewer.vue @@ -86,6 +86,7 @@ watch([() => props.note.reactions, () => props.maxNumber], ([newSource, maxNumbe .root { margin: 4px -2px 0 -2px; + cursor: auto; /* not clickToOpen-able */ &:empty { display: none; diff --git a/packages/frontend/src/components/MkSubNoteContent.vue b/packages/frontend/src/components/MkSubNoteContent.vue index c8c48d1623..f7ef58ee7d 100644 --- a/packages/frontend/src/components/MkSubNoteContent.vue +++ b/packages/frontend/src/components/MkSubNoteContent.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only