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') }}
|
{{ $t('settings.profile_tab') }}
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="panel-body">
|
||||||
<span v-if="error">{{ error }}</span>
|
<div
|
||||||
|
v-if="error"
|
||||||
|
class="alert error"
|
||||||
|
>
|
||||||
|
<span class="error-message">{{ error }}</span>
|
||||||
|
</div>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
v-else
|
v-else
|
||||||
spin
|
spin
|
||||||
|
|
@ -235,6 +240,16 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 7em;
|
padding: 7em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.alert {
|
||||||
|
padding: 0.75em 5em;
|
||||||
|
border-width: 2px;
|
||||||
|
|
||||||
|
.error-message {
|
||||||
|
color: var(--text);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue