Apply user colour to header rather than username on profiles.
This commit is contained in:
parent
b5b4bf6b5a
commit
1bb9bd6541
2 changed files with 2 additions and 3 deletions
|
@ -144,7 +144,6 @@
|
|||
}
|
||||
|
||||
.profile__header__username {
|
||||
color: var(--user-colour);
|
||||
font-size: 2em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% from 'macros.twig' import avatar %}
|
||||
{% from '_layout/input.twig' import input_checkbox_raw %}
|
||||
|
||||
<div class="container profile__header">
|
||||
<div class="container profile__header" style="--accent-colour: {{ profile_user.colour }}">
|
||||
<div class="profile__header__background"></div>
|
||||
|
||||
<div class="profile__header__details">
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
<div class="profile__header__details__content">
|
||||
{% if profile_user is defined %}
|
||||
<div class="profile__header__username" style="--user-colour: {{ profile_user.colour }}">
|
||||
<div class="profile__header__username">
|
||||
{{ profile_user.username }}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue