mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
[web] use default nav-bar color for admins in dev-env (#32798)
GitOrigin-RevId: e3608ce699ac38ef33805618df456c94c6bf587b
This commit is contained in:
@@ -103,7 +103,7 @@ html(
|
||||
'thin-footer': showThinFooter,
|
||||
'website-redesign': isWebsiteRedesign === true || websiteRedesignOverride,
|
||||
'application-page': isApplicationPage,
|
||||
'user-has-admin-access': hasFeature('saas') && hasAdminAccess(),
|
||||
'red-nav-bar-for-admins': !settings.isDevEnv && hasFeature('saas') && hasAdminAccess(),
|
||||
}
|
||||
data-theme='light'
|
||||
)
|
||||
|
||||
@@ -328,6 +328,7 @@ module.exports = {
|
||||
siteUrl: (siteUrl = process.env.PUBLIC_URL || 'http://127.0.0.1:3000'),
|
||||
|
||||
isCodeSpace: process.env.IS_CODE_SPACE === 'true',
|
||||
isDevEnv: process.env.NODE_ENV === 'development',
|
||||
|
||||
lockManager: {
|
||||
lockTestInterval: intFromEnv('LOCK_MANAGER_LOCK_TEST_INTERVAL', 50),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.user-has-admin-access {
|
||||
.red-nav-bar-for-admins {
|
||||
.navbar-default {
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
|
||||
Reference in New Issue
Block a user