Fix user profile error styling
This commit is contained in:
parent
b1bfffc006
commit
3c4749e709
2 changed files with 18 additions and 2 deletions
1
changelog.d/profile-error.fix
Normal file
1
changelog.d/profile-error.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix error styling for user profiles
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue