mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
fix: 🐛 Clamp greeting username to a single line
This commit is contained in:
parent
9393b09b82
commit
7253a01921
|
|
@ -7,7 +7,7 @@
|
||||||
class="mx-auto shrink-0 size-20 rounded overflow-hidden ring-1 ring-white/10" />
|
class="mx-auto shrink-0 size-20 rounded overflow-hidden ring-1 ring-white/10" />
|
||||||
<div class="mt-4 text-center sm:mt-0 sm:pt-1 sm:text-left">
|
<div class="mt-4 text-center sm:mt-0 sm:pt-1 sm:text-left">
|
||||||
<p class="text-sm font-medium text-gray-300">Welcome back,</p>
|
<p class="text-sm font-medium text-gray-300">Welcome back,</p>
|
||||||
<p class="text-xl font-bold text-gray-50 sm:text-2xl"
|
<p class="text-xl font-bold text-gray-50 sm:text-2xl line-clamp-1"
|
||||||
v-html="useParsedContent(me.display_name, []).value"></p>
|
v-html="useParsedContent(me.display_name, []).value"></p>
|
||||||
<p class="text-sm font-medium text-gray-500">@{{ me.acct }}</p>
|
<p class="text-sm font-medium text-gray-500">@{{ me.acct }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue