Don't strip grid CSS variables from styles, allowing block ejection to reference them

This commit is contained in:
Andrew Kingston 2024-08-15 11:21:09 +01:00
parent a022e02643
commit 991aff132f
No known key found for this signature in database
1 changed files with 0 additions and 2 deletions

View File

@ -120,8 +120,6 @@ export const gridLayout = (node, metadata) => {
let mVar = getGridVar(Devices.Mobile, param)
vars[dVar] = styles[dVar] || styles[mVar] || defaults[param]
vars[mVar] = styles[mVar] || styles[dVar] || defaults[param]
delete styles[dVar]
delete styles[mVar]
}
// Apply some overrides depending on component state