gantry5 icon indicating copy to clipboard operation
gantry5 copied to clipboard

Unique Particle CSS Styles Modifed During Grav + Gantry Upgrade

Open thekenshow opened this issue 3 years ago • 2 comments

Upgraded a Grav v1.6.16 + Gantry v5.4.31 to Grav v1.7.27.1 + Gantry v5.5.8 and found auto-generated particles style that had been altered.

Example 1

The --- that precedes particle becomes -__:

g-menu-item---particle-PkeJW

To:

g-menu-item-__particle-PkeJW

Example 2

The --- that precedes particle becomes /__:

g-menu-item-parts---particle-GH8Dy

To:

g-menu-item-parts/__particle-GH8Dy

This breaks the CSS written for these particles, of course - what's going on here?

Screenshots

Screen Shot 2022-01-25 at 11 13 33 AM Screen Shot 2022-01-25 at 11 13 16 AM

thekenshow avatar Jan 25 '22 17:01 thekenshow

Following up, an SCSS selector with a structure like .g-menu-item-parts/__particle-GH8Dy will not even compile in Gantry.

thekenshow avatar Jan 25 '22 18:01 thekenshow

Sounds like a bug.

mahagr avatar Jan 25 '22 19:01 mahagr