Skip to content

Commit c89f2a3

Browse files
committed
Display default placeholder as a inline-block
1 parent 64f50ac commit c89f2a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PlaceholderWithoutTracking.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class PlaceholderWithoutTracking extends React.Component {
6868
return (
6969
<span className={className}
7070
ref={el => this.placeholder = el}
71-
style={{ height, width, ...style }}>
71+
style={{ display: 'inline-block', height, width, ...style }}>
7272
</span>
7373
);
7474
}

0 commit comments

Comments
 (0)