From 7e06ca22f3698c78dd277ed707cc0cf23e300c80 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Wed, 8 Sep 2021 14:14:32 +0200 Subject: [PATCH] Merge pull request #5009 from overleaf/jpa-fix-no-js-style [web] fix css import for no-js pages GitOrigin-RevId: a7bf516319b2a3c7b908468eedad28dbe80a53b3 --- services/web/app/views/layout/layout-no-js.pug | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/services/web/app/views/layout/layout-no-js.pug b/services/web/app/views/layout/layout-no-js.pug index 4ddc624502..c86721a810 100644 --- a/services/web/app/views/layout/layout-no-js.pug +++ b/services/web/app/views/layout/layout-no-js.pug @@ -12,8 +12,7 @@ html(lang="en") link(rel="icon", href="/favicon.ico") - if entrypointStyles - each file in entrypointStyles('main') - link(rel='stylesheet', href=file) + if buildCssPath + link(rel="stylesheet", href=buildCssPath()) block body