From ea9920df5f4f9da6ef3dfdfb7aad951be749220f Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Fri, 17 Feb 2017 10:54:50 -0800 Subject: [PATCH] style fixes --- src/components/void.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/void.js b/src/components/void.js index 7ed97cb62..24581dc98 100644 --- a/src/components/void.js +++ b/src/components/void.js @@ -91,9 +91,7 @@ class Void extends React.Component { // Make the outer wrapper relative, so the spacer can overlay it. if (node.kind === 'block') { Tag = 'div' - style = { - position: 'relative' - } + style = { position: 'relative' } } else { Tag = 'span' } @@ -139,8 +137,9 @@ class Void extends React.Component { textIndent: '-9999px' } } else { - // Set `color` to `transparent` to hide caret inside the spacer. - style = {color: 'transparent'} + style = { + color: 'transparent' + } } return (