Admin menu sets z-index to 999, can we change environment_indicator z-index to 998?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

travelertt’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.0
FileSize
8.52 KB

The attached patch adds to options to the config.
Force bar below: changes the indicator box's z-index.
Adjust height: increases the text padding-top.

These changes make it easier for the indicator to work with several admin toolbars.

travelertt’s picture

Category: bug » feature
Status: Active » Needs review
tsvenson’s picture

Personally I would prefer if Environment Indicator simply would respect the "Adjust top margin" for the Admin menu. Then it would automatically adjust the top margin to match when Admin menu is available.

mrfelton’s picture

Status: Needs review » Fixed

This has been fixed in git. If you have the 'Adjust margin' setting on in the environment, the admin menu will be shifted over to the right like everything else on the page.

mrfelton’s picture

' If you have the 'Adjust margin' setting on in the environment'

was meant to read:

' If you have the 'Adjust margin' setting on in the environment indicator settings page'

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.