Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Environment Indicator can break Responsive Preview when used with Navbar, because it overrides the text color everywhere in the Navbar including the links to preview on a device. The Responsive Preview button div has a white background, and Environment Indicator usually forces white text, making it unreadable.
Comments
Comment #1
Dane Powell CreditAttribution: Dane Powell at Acquia commentedThere are a lot of ways to fix it, this is just one- making the navbar color replacing selector a little less zealous.
Comment #2
e0ipsoUnder those circumstances you can set the EI text color to a different color. Also, any specific color combination can be dealt with in custom code.
Comment #3
ilkkave CreditAttribution: ilkkave commentedThe patch would still show the "Configure devices" link of Responsive Preview with a white text, making it not visible:
Comment #4
ilkkave CreditAttribution: ilkkave commentedIf we want to target only navbar links, we could target those with class ".navbar-icon" http://cgit.drupalcode.org/navbar/tree/navbar.module?h=7.x-1.7#n548.
Attached a patch with that change.
Comment #5
ilkkave CreditAttribution: ilkkave commentedGot a nasty typo to the first patch, here's a fixed one.
Comment #6
e0ipsoVersion for D7 is unmaintained. I am sorry for the inconvenience.