Merge pull request #20231 from overleaf/ii-bs5-ide-header-light

[web] BS5 IDE light header

GitOrigin-RevId: 39403afae76f267228fb286492ad50e8e88e31be
This commit is contained in:
ilkin-overleaf
2024-09-09 08:05:10 +00:00
committed by Copybot
parent 19295559c9
commit 8b3ffe58fa
15 changed files with 77 additions and 42 deletions
@@ -210,9 +210,10 @@ module.exports = function (webRouter, privateApiRouter, publicApiRouter) {
) {
// Pick which main stylesheet to use based on Bootstrap version
const bootstrap5Modifier = bootstrapVersion === 5 ? '-bootstrap-5' : ''
const computedThemeModifier = bootstrapVersion === 5 ? '' : themeModifier
return res.locals.buildStylesheetPath(
`main-${themeModifier}style${bootstrap5Modifier}.css`
`main-${computedThemeModifier}style${bootstrap5Modifier}.css`
)
}
+1 -1
View File
@@ -73,7 +73,7 @@ html(
block head-scripts
body(class=(showThinFooter ? 'thin-footer' : undefined))
body(class=(showThinFooter ? 'thin-footer' : undefined), data-theme="default")
if(settings.recaptcha && settings.recaptcha.siteKeyV3)
script(type="text/javascript", nonce=scriptNonce, src="https://www.recaptcha.net/recaptcha/api.js?render=" + settings.recaptcha.siteKeyV3, defer=deferScripts)