Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Commit

Permalink
Fix the Modal
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshHARDIYA committed Mar 15, 2017
1 parent 23a30e2 commit b012aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Modal/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default class Dialog extends Component {
)}
{header && (<div className="uk-modal-header"><h2>{header}</h2></div>)}
{caption && (<div className="uk-modal-caption">{caption}</div>)}
{children}
<div className="uk-modal-body">{children}</div>
{ footer.length > 0 &&
(<div className="uk-modal-footer uk-text-right">
{
Expand Down
3 changes: 1 addition & 2 deletions src/stories/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ storiesOf('Modal', module)

<div className="uk-margin-bottom">
<Modal target={<OpenButton />}>
<h1>Headline</h1>
<h2 className="uk-modal-title">Headline</h2>
<p>{LoremIpsum}</p>
</Modal>
</div>
Expand Down Expand Up @@ -131,7 +131,6 @@ storiesOf('Modal', module)
.addWithInfo('Large dialog modifier', '', () => (
<div className="uk-margin-bottom">
<Modal large target={<OpenButton />} >
<h1>Headline</h1>
<p>{LoremIpsum}</p>
</Modal>
</div>
Expand Down

0 comments on commit b012aea

Please sign in to comment.