diff --git a/locales/en-US.yml b/locales/en-US.yml index e26f6ed2b..5b6abcc35 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -598,6 +598,8 @@ scratchpadDescription: "The scratchpad provides an environment for AiScript expe output: "Output" script: "Script" disablePagesScript: "Disable AiScript on Pages" +expandOnNoteClick: "Open post on click" +expandOnNoteClickDesc: "If disabled, you can still open posts in the right-click menu or by clicking the timestamp." updateRemoteUser: "Update remote user information" deleteAllFiles: "Delete all files" deleteAllFilesConfirm: "Are you sure that you want to delete all files?" diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 589b83a51..669fd67ef 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -68,6 +68,7 @@ class="article" @contextmenu.stop="onContextmenu" @click="noteClick" + :style="{ cursor: expandOnNoteClick && !detailedView ? 'pointer' : '' }" >