From 7ca4ed4369a1d1ebfadf73688613ba253386aae6 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Mon, 6 Jan 2025 23:19:15 +0100 Subject: [PATCH] fix(views/login): fix "flash of unstyled content" move stylesheets to head of HTML to get rid of "FOUC" aka "Flash of unstyled content" --- src/views/login.ejs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/login.ejs b/src/views/login.ejs index a17a58909..e7e6a12e5 100644 --- a/src/views/login.ejs +++ b/src/views/login.ejs @@ -6,6 +6,10 @@ <%= t("login.title") %> + + + +
@@ -77,10 +81,5 @@ /\b(Android|Windows Phone|iPad|iPod)\b/i.test(navigator.userAgent); } - - - - -