Merge pull request #20231 from overleaf/ii-bs5-ide-header-light
[web] BS5 IDE light header GitOrigin-RevId: 39403afae76f267228fb286492ad50e8e88e31be
This commit is contained in:
@@ -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`
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user