diff --git a/packages/frontend/src/components/MkCode.vue b/packages/frontend/src/components/MkCode.vue index 2c016e4d7c..137d4c2bd4 100644 --- a/packages/frontend/src/components/MkCode.vue +++ b/packages/frontend/src/components/MkCode.vue @@ -66,11 +66,9 @@ const XCode = defineAsyncComponent(() => import('@/components/MkCode.core.vue')) .codePlaceholderRoot { display: block; width: 100%; - background: none; border: none; outline: none; - font: inherit; - color: inherit; + font: inherit; cursor: pointer; box-sizing: border-box; diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index c5be2a2f62..5dce5775ae 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -74,7 +74,7 @@ async function calcAspectRatio() { gallery.value.style.aspectRatio = ratioMax(16 / 9); break; case '1_1': - gallery.value.style.aspectRatio = ratioMax(1 / 1); + gallery.value.style.aspectRatio = ratioMax(1); break; case '2_3': gallery.value.style.aspectRatio = ratioMax(2 / 3); diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 89b769470a..cf41e0c1cd 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -100,7 +100,7 @@ SPDX-License-Identifier: AGPL-3.0-only