Fix user profile error styling

This commit is contained in:
Pleroma User 2025-05-08 14:49:05 +00:00 committed by HJ
commit 3c4749e709
2 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1 @@
Fix error styling for user profiles

View file

@ -146,8 +146,13 @@
{{ $t('settings.profile_tab') }}
</h1>
</div>
<div>
<span v-if="error">{{ error }}</span>
<div class="panel-body">
<div
v-if="error"
class="alert error"
>
<span class="error-message">{{ error }}</span>
</div>
<FAIcon
v-else
spin
@ -235,6 +240,16 @@
align-items: center;
padding: 7em;
}
.alert {
padding: 0.75em 5em;
border-width: 2px;
.error-message {
color: var(--text);
font-weight: bold;
}
}
}
</style>