From 1bb9bd654171bf420bba73d992fa61caa04544d6 Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 3 Jul 2023 13:53:58 +0000 Subject: [PATCH] Apply user colour to header rather than username on profiles. --- assets/css/misuzu/profile/header.css | 1 - templates/profile/_layout/header.twig | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/css/misuzu/profile/header.css b/assets/css/misuzu/profile/header.css index 4750324..fedb78f 100644 --- a/assets/css/misuzu/profile/header.css +++ b/assets/css/misuzu/profile/header.css @@ -144,7 +144,6 @@ } .profile__header__username { - color: var(--user-colour); font-size: 2em; line-height: 1.5em; } diff --git a/templates/profile/_layout/header.twig b/templates/profile/_layout/header.twig index b38c4c7..f681e7c 100644 --- a/templates/profile/_layout/header.twig +++ b/templates/profile/_layout/header.twig @@ -1,7 +1,7 @@ {% from 'macros.twig' import avatar %} {% from '_layout/input.twig' import input_checkbox_raw %} -
+
@@ -31,7 +31,7 @@
{% if profile_user is defined %} -
+
{{ profile_user.username }}