diff --git a/.config/example.yml b/.config/example.yml index 9d20e44a0b..e37d535048 100644 --- a/.config/example.yml +++ b/.config/example.yml @@ -110,12 +110,13 @@ id: 'aid' #maxCaptionLength: 1500 # Reserved usernames that only the administrator can register with -reservedUsernames: - - root - - admin - - administrator - - me - - system +reservedUsernames: [ + 'root', + 'admin', + 'administrator', + 'me', + 'system' +] # Whether disable HSTS #disableHsts: true diff --git a/packages/client/src/components/MkMediaList.vue b/packages/client/src/components/MkMediaList.vue index ec23ca5d03..0b4ed9dac0 100644 --- a/packages/client/src/components/MkMediaList.vue +++ b/packages/client/src/components/MkMediaList.vue @@ -188,6 +188,7 @@ const previewable = (file: misskey.entities.DriveFile): boolean => { margin-top: 4px; border-radius: var(--radius); overflow: hidden; + pointer-events: none; &:before { content: ""; @@ -207,6 +208,7 @@ const previewable = (file: misskey.entities.DriveFile): boolean => { > * { overflow: hidden; border-radius: 6px; + pointer-events: all; } &[data-count="1"] {