Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.

Commit 891631e

Browse files
committed
Fix top margin with floating label.
1 parent 1d7df24 commit 891631e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ChipInput.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ class ChipInput extends React.Component {
299299

300300
return (
301301
<div
302-
style={prepareStyles(Object.assign(styles.root, style))}
302+
style={prepareStyles(Object.assign(styles.root, style, { marginTop: floatingLabelText ? 14 : undefined }))}
303303
onTouchTap={() => this.focus()}
304304
>
305305
<div>

0 commit comments

Comments
 (0)