Skip to content

Commit 5740691

Browse files
authored
(#22) Modify width to work well even if width is specified as %.
2 parents 19a6785 + e356a43 commit 5740691

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/DaumPostcode.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class DaumPostcode extends React.Component {
5454
submitMode: comp.props.submitMode,
5555
theme: comp.props.theme,
5656
useSuggest: comp.props.useSuggest,
57-
width: comp.props.width,
57+
width: '100%',
5858
focusInput: comp.props.focusInput,
5959
focusContent: comp.props.focusContent,
6060
});
@@ -171,4 +171,4 @@ DaumPostcode.defaultProps = {
171171
focusContent: true,
172172
};
173173

174-
export default DaumPostcode;
174+
export default DaumPostcode;

0 commit comments

Comments
 (0)