diff --git a/packages/slate-react/src/components/void.js b/packages/slate-react/src/components/void.js index 0a1b964c7..2ad7d8cb3 100644 --- a/packages/slate-react/src/components/void.js +++ b/packages/slate-react/src/components/void.js @@ -144,7 +144,8 @@ class Void extends React.Component { Tag = 'div' style = { display: 'inline-block', - verticalAlign: 'top' + verticalAlign: 'top', + width: '100%' } } else { Tag = 'span' diff --git a/packages/slate-react/test/rendering/fixtures/custom-block-void.js b/packages/slate-react/test/rendering/fixtures/custom-block-void.js index dfd606d30..36b86a612 100644 --- a/packages/slate-react/test/rendering/fixtures/custom-block-void.js +++ b/packages/slate-react/test/rendering/fixtures/custom-block-void.js @@ -29,7 +29,7 @@ export const output = ` -