Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
environment_indicator
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
environment_indicator
Merge requests
!46
Issue
#3341110
: Toolbar is colored when toolbar integration is off
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Closed
Issue
#3341110
: Toolbar is colored when toolbar integration is off
issue/environment_indicator-3341110:origin/3341110-toolbar-is-colored
into
4.x
Overview
0
Commits
1
Pipelines
0
Changes
3
Closed
Issue #3341110: Toolbar is colored when toolbar integration is off
Andrei Ivnitskii
requested to merge
issue/environment_indicator-3341110:origin/3341110-toolbar-is-colored
into
4.x
Jun 7, 2024
Overview
0
Commits
1
Pipelines
0
Changes
3
0
0
Merge request reports
Compare
4.x
4.x (base)
and
latest version
latest version
4d6c9cb7
1 commit,
Jun 7, 2024
3 files
+
6
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
js/environment_indicator.js
+
1
−
1
View file @ 4d6c9cb7
Edit in single-file editor
Open in Web IDE
Show full file
@@ -12,7 +12,7 @@
Drupal
.
behaviors
.
environmentIndicatorToolbar
=
{
attach
:
function
(
context
,
settings
)
{
if
(
typeof
(
settings
.
environmentIndicator
)
!=
'
undefined
'
)
{
if
(
typeof
(
settings
.
environmentIndicator
)
!=
'
undefined
'
&&
settings
.
environmentIndicator
.
alterToolbar
===
true
)
{
const
$body
=
$
(
'
body
'
);
const
borderWidth
=
getComputedStyle
(
document
.
body
).
getPropertyValue
(
'
--enviroment-indicator-border-width
'
)
||
'
6px
'
;
Loading