fix: formatting of bio

v1-dev
Raymond 2025-02-26 22:58:34 -05:00 committed by Azalea
parent fb9ef65346
commit ca09e0e3f7
1 changed files with 12 additions and 2 deletions

View File

@ -175,10 +175,10 @@
{#if d.user.aquaUser?.profileBio} {#if d.user.aquaUser?.profileBio}
<div class="activity-info"> <div class="activity-info">
<div class="info-bottom"> <div class="info-bottom profile-bio-container">
<div class="profile-bio"> <div class="profile-bio">
<span>{t("settings.profile.bio")}</span> <span>{t("settings.profile.bio")}</span>
<span>{d.user.aquaUser?.profileBio}</span> <span class="profile-bio-text">{d.user.aquaUser?.profileBio}</span>
</div> </div>
</div> </div>
</div> </div>
@ -453,6 +453,16 @@
.info-bottom .info-bottom
width: max-content width: max-content
&.profile-bio-container,
&.profile-bio-container div
width: 100%
.profile-bio-text
white-space: pre
max-height: 10em
overflow-y: auto
flex: 1
.info-top > div > span:last-child .info-top > div > span:last-child
font-size: 1.5rem font-size: 1.5rem