upd: wrap username in header

Closes transfem-org/Sharkey#90
This commit is contained in:
Mar0xy 2023-10-20 00:45:21 +02:00
parent 659574e457
commit 4dda43d276
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -19,7 +19,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<i v-else-if="metadata.icon" :class="[$style.titleIcon, metadata.icon]"></i> <i v-else-if="metadata.icon" :class="[$style.titleIcon, metadata.icon]"></i>
<div :class="$style.title"> <div :class="$style.title">
<MkUserName v-if="metadata.userName" :user="metadata.userName" :nowrap="true"/> <MkUserName v-if="metadata.userName" :user="metadata.userName" :nowrap="false"/>
<div v-else-if="metadata.title">{{ metadata.title }}</div> <div v-else-if="metadata.title">{{ metadata.title }}</div>
<div v-if="metadata.subtitle" :class="$style.subtitle"> <div v-if="metadata.subtitle" :class="$style.subtitle">
{{ metadata.subtitle }} {{ metadata.subtitle }}