From 8ecb47e65f51dd347b3cddc552d9c72873fe920c Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Fri, 24 May 2024 18:22:58 +0200 Subject: [PATCH] WebUIs: fix css loading order Fixes #1628 Signed-off-by: Nicola Murino --- templates/common/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/common/base.html b/templates/common/base.html index af1a55c8..515b67a0 100644 --- a/templates/common/base.html +++ b/templates/common/base.html @@ -800,11 +800,11 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). {{- template "fonts" . }} + {{- block "extra_css" .}}{{- end}} {{- range .Branding.DefaultCSS}} {{- end}} - {{- template "globalstyle" .CSPNonce }} - {{- block "extra_css" .}}{{- end}} + {{- template "globalstyle" .CSPNonce }} {{- range .Branding.ExtraCSS}} {{- end}}