From 6798effbabe52e1afb9c83767f971679306c3428 Mon Sep 17 00:00:00 2001
From: tamaina <tamaina@hotmail.co.jp>
Date: Wed, 5 Apr 2023 14:30:03 +0900
Subject: enhance(client): 投稿フォームをちょっといい感じに (#10442)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* .formラッパーを削除

* fix type of MkPostFormAttaches

* :rocket:

* :art:

* :art:

* :art:

* :art:

* specifiedの時は連合なしをdisabledに

* :v:

* set select default

* gap: 2px (max-width: 500px) / 4px

* wip

* :v:

* :art:

* fix maxTextLength

* 今後表示しない

* :art:

* cache channel

* :art:

* 連合なしにする

* use i18n.ts.neverShow

* :v:

* refactor

* fix indent

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
---
 packages/frontend/src/components/MkNotePreview.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'packages/frontend/src/components/MkNotePreview.vue')

diff --git a/packages/frontend/src/components/MkNotePreview.vue b/packages/frontend/src/components/MkNotePreview.vue
index 16196834b7..6b55c27869 100644
--- a/packages/frontend/src/components/MkNotePreview.vue
+++ b/packages/frontend/src/components/MkNotePreview.vue
@@ -3,7 +3,7 @@
 	<MkAvatar :class="$style.avatar" :user="$i" link preview/>
 	<div :class="$style.main">
 		<div :class="$style.header">
-			<MkUserName :user="$i"/>
+			<MkUserName :user="$i" :nowrap="true"/>
 		</div>
 		<div>
 			<div :class="$style.content">
@@ -50,6 +50,9 @@ const props = defineProps<{
 .header {
 	margin-bottom: 2px;
 	font-weight: bold;
+	width: 100%;
+	overflow: clip;
+    text-overflow: ellipsis;
 }
 
 @container (min-width: 350px) {
-- 
cgit v1.2.3-freya

