• Resolved abitofmind

    (@abitofmind)


    ? 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.

Viewing 1 replies (of 1 total)
  • Plugin Author wpsoul

    (@wpsoul)

    Hi. Videobox in Greenshift has no hard-coded box-sizing. We prefer to keep things less intrusive. If theme has no *{box-sizing: border-box} then it can have reason for this. If you use Greenshift theme, you will have no problem with this

Viewing 1 replies (of 1 total)
  • The topic ‘Greenshift Video block should use box-sizing: border-box to stay within layout’ is closed to new replies.