Greenshift Video block should use box-sizing: border-box to stay within layout
-
? The Greenshift Image block correctly uses
box-sizing: border-box
and hence correctly stays within the layout preset.? The Greenshift Video block uses
box-sizing: content-box
. Therefore the block grows beyond the block alignment setting, on the screenshot it grows beyond the contentWidth (towards the right) by 2x border-width, so on my by: 2x 20px = 40px:The fix must be to use
box-sizing: border-box
for the Greenshift video block as long as it governed by the default block theme layout, that is as long as it is placed in the document root or nested in any core container using ?? Inner blocks use content width.
- The topic ‘Greenshift Video block should use box-sizing: border-box to stay within layout’ is closed to new replies.