Problem/Motivation

Some css from Claro theme is overriding Gin's background in .ui-dialog.

Steps to reproduce

If you edit a field e.g. a webform field and in the edit dialog on the right the background will be set to none.
Screenshot

Proposed resolution

Adding the snippet in styles/components/_dialog.scss:

Screenshot

Displaying correctly after css changes:

Screenshot

Remaining tasks

If that's a valid issue, create a patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gwvoigt created an issue. See original summary.

gwvoigt’s picture

Issue summary: View changes
saschaeggi’s picture

Status: Active » Needs work

@gwvoigt sure please create a patch so I can test it :)

saschaeggi’s picture

Title: Claro backgroud property is overriding Gin's ui-dialog background color » Claro property is overriding Gin's off-canvas dialog background-color
gwvoigt’s picture

@saschaeggi to patch scss files, do I patch only the src file or the compiled dist files as well?

gwvoigt’s picture

saschaeggi’s picture

Status: Needs work » Needs review
FileSize
446.05 KB

As the provided patch will affect all off-canvas dialogs and therefore all those won't work the right way, I've re-rolled the patch to only target the webform UI off-canvas.
Please review.

gwvoigt’s picture

#7 works for the scss file but fails for the css files

saschaeggi’s picture

@gwvoigt you'll need to patch it against the latest dev.

gwvoigt’s picture

Sorry about that. Patched latest dev and works great now.

  • saschaeggi committed 09df5b8 on 8.x-3.x
    Issue #3175286 by gwvoigt, saschaeggi: Claro property is overriding Gin'...
saschaeggi’s picture

Status: Needs review » Fixed

Commited, thanks for reporting

Status: Fixed » Closed (fixed)

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