Don't strip grid CSS variables from styles, allowing block ejection to reference them
This commit is contained in:
parent
a022e02643
commit
991aff132f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue