Skip to content

Commit

Permalink
VACMS-18701: patch for environment_indicator module
Browse files Browse the repository at this point in the history
  • Loading branch information
edmund-dunn committed Jul 23, 2024
1 parent 079f968 commit 82d9e42
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
"3443270 - Check Access entity usage statistics perms in linkedUsage() method": "https://www.drupal.org/files/issues/2024-04-24/3443270-Check-Access-entity-usage-statistics-perms-in-linkedUsage-method.patch"
},
"drupal/environment_indicator": {
"3326097 - Admin Toolbar Items changed to Tabs": "https://www.drupal.org/files/issues/2024-07-23/3463201-fix-for-change-in-class-for-toolbar.patch"
"3326097 - Admin Toolbar Items changed to Tabs": "patches/3463201-fix-for-change-in-class-for-toolbar.patch"
},
"drupal/field_group": {
"2787179 - Visibility of invalid fields": "https://www.drupal.org/files/issues/2021-01-05/2787179-highlight-html5-validation-59.patch",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "efce9ddaa37f57d9f6733f8141478b11",
"content-hash": "5697ef609cbafcde77fcf52fda145ab3",
"packages": [
{
"name": "asm89/stack-cors",
Expand Down
4 changes: 2 additions & 2 deletions patches/3463201-fix-for-change-in-class-for-toolbar.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ diff --git a/js/environment_indicator.js b/js/environment_indicator.js
if (!$body.hasClass('gin--vertical-toolbar') && !$body.hasClass('gin--horizontal-toolbar')) {
$('#toolbar-bar', context).css('background-color', settings.environmentIndicator.bgColor);
- $('#toolbar-bar .toolbar-item a', context).not('.is-active').css('color', settings.environmentIndicator.fgColor);
+ $('#toolbar-bar .toolbar-tab a', context).not('.is-active').css('color', settings.environmentIndicator.fgColor);
+ $('#toolbar-bar .toolbar-item', context).not('.is-active').css('color', settings.environmentIndicator.fgColor);
}

// Set environment color for gin_toolbar vertical toolbar.

0 comments on commit 82d9e42

Please sign in to comment.