fix(frontend): MkUserPopupが省略されないのを修正

Fix #10870
This commit is contained in:
tamaina 2023-06-05 08:58:00 +00:00
parent 34e1b52b38
commit 9e716fd813

View file

@ -22,7 +22,7 @@
<div :class="$style.username"><MkAcct :user="user"/></div> <div :class="$style.username"><MkAcct :user="user"/></div>
</div> </div>
<div :class="$style.description"> <div :class="$style.description">
<Mfm v-if="user.description" :text="user.description" :author="user" :i="$i"/> <Mfm v-if="user.description" :class="$style.mfm" :text="user.description" :author="user" :i="$i"/>
<div v-else style="opacity: 0.7;">{{ i18n.ts.noAccountDescription }}</div> <div v-else style="opacity: 0.7;">{{ i18n.ts.noAccountDescription }}</div>
</div> </div>
<div :class="$style.status"> <div :class="$style.status">
@ -192,6 +192,13 @@ onMounted(() => {
border-bottom: solid 1px var(--divider); border-bottom: solid 1px var(--divider);
} }
.mfm {
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
overflow: hidden;
}
.status { .status {
padding: 16px 26px 16px 26px; padding: 16px 26px 16px 26px;
} }