Invalid empty box-shadow property
-
Hello,
This is a minor thing but I’ve noticed for the Advanced Column and Section blocks, UAGB by default seems to assign an empty value for the box-shadow property, which the browser flags as invalid CSS. I have tried to “clear” it out in the block editor, but it stays there.
For example:
.uagb-block-c4dd8e61.wp-block-uagb-section { box-shadow: ; } .uagb-block-1544ab22.wp-block-uagb-columns { box-shadow: ; }
I suppose
box-shadow: none
would be more valid, but ideally the box-shadow rule wouldn’t be there if it’s not defined or has been cleared. It all adds up to less CSS processing the browser has to do anyway, and less inline code.Cheers,
Nate
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Invalid empty box-shadow property’ is closed to new replies.