diff --git a/locales/index.d.ts b/locales/index.d.ts
index 60e88a2192..3e34c6a813 100644
--- a/locales/index.d.ts
+++ b/locales/index.d.ts
@@ -609,6 +609,7 @@ export interface Locale {
"enablePlayer": string;
"disablePlayer": string;
"expandTweet": string;
+ "expandNote": string;
"themeEditor": string;
"description": string;
"describeFile": string;
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index 3d31dcef49..b1838fa5ab 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -606,6 +606,7 @@ useCw: "内容を隠す"
enablePlayer: "プレイヤーを開く"
disablePlayer: "プレイヤーを閉じる"
expandTweet: "ポストを展開する"
+expandNote: "ノートを展開する"
themeEditor: "テーマエディター"
description: "説明"
describeFile: "キャプションを付ける"
diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue
index 7d4207f0fb..515a002680 100644
--- a/packages/frontend/src/components/MkNote.vue
+++ b/packages/frontend/src/components/MkNote.vue
@@ -83,7 +83,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
@@ -800,17 +800,6 @@ function emitUpdReaction(emoji: string, delta: number) {
font-size: 80%;
}
-.quote {
- padding: 8px 0;
-}
-
-.quoteNote {
- padding: 16px;
- border: dashed 1px var(--renote);
- border-radius: 8px;
- overflow: clip;
-}
-
.channel {
opacity: 0.7;
font-size: 80%;
@@ -947,12 +936,6 @@ function emitUpdReaction(emoji: string, delta: number) {
}
}
-@container (max-width: 250px) {
- .quoteNote {
- padding: 12px;
- }
-}
-
.muted {
padding: 8px;
text-align: center;
diff --git a/packages/frontend/src/components/MkNoteSimple.vue b/packages/frontend/src/components/MkNoteSimple.vue
index e7cb3f96f1..4488cdcff3 100644
--- a/packages/frontend/src/components/MkNoteSimple.vue
+++ b/packages/frontend/src/components/MkNoteSimple.vue
@@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-->
-
+
@@ -30,6 +30,8 @@ import MkCwButton from '@/components/MkCwButton.vue';
const props = defineProps<{
note: Misskey.entities.Note;
+ pinned?: boolean;
+ quoted?: boolean;
}>();
const showContent = ref(false);
@@ -78,12 +80,24 @@ const showContent = ref(false);
padding: 0;
}
+.quoted {
+ margin: 8px 0;
+ padding: 16px;
+ border: dashed 1px var(--renote);
+ border-radius: 8px;
+ overflow: clip;
+}
+
@container (min-width: 250px) {
.avatar {
margin: 0 10px 0 0;
width: 40px;
height: 40px;
}
+
+ .quoted {
+ padding: 12px;
+ }
}
@container (min-width: 350px) {
diff --git a/packages/frontend/src/components/MkUrlPreview.vue b/packages/frontend/src/components/MkUrlPreview.vue
index f0f1a13d0b..00c4f68858 100644
--- a/packages/frontend/src/components/MkUrlPreview.vue
+++ b/packages/frontend/src/components/MkUrlPreview.vue
@@ -26,8 +26,8 @@ SPDX-License-Identifier: AGPL-3.0-only
-
-
+
+
+
-
- {{ i18n.ts.close }}
+
+ {{ i18n.ts.close }}
@@ -66,10 +67,15 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
{{ i18n.ts.expandTweet }}
+
+
+ {{ i18n.ts.expandNote }}
+
+
{{ i18n.ts.enablePlayer }}
@@ -85,11 +91,13 @@ SPDX-License-Identifier: AGPL-3.0-only