Skip to content

Commit a9dc654

Browse files
gthomas-appfolioeddywashere
authored andcommitted
fix(Modal): Update ModalHeader close button (#281)
Recent changes to Bootstrap alpha use flexbox to position ModalHeader title and close button, which cause the current code to incorrectly position title and close on the opposite and wrong side.
1 parent 7d76b27 commit a9dc654

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ModalHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ const ModalHeader = (props) => {
3535

3636
return (
3737
<div {...attributes} className={classes}>
38-
{closeButton}
3938
<h4 className={mapToCssModules('modal-title', cssModule)}>
4039
{children}
4140
</h4>
41+
{closeButton}
4242
</div>
4343
);
4444
};

0 commit comments

Comments
 (0)