Skip to content

Commit

Permalink
fix(atoms): fix dialog aligment
Browse files Browse the repository at this point in the history
  • Loading branch information
ej9x committed Nov 20, 2018
1 parent 7a81324 commit f744042
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/atoms/Dialog/DialogPlate.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,11 @@ const theme = createTheme(name, {
});

const StyledTag = createStyledTag(name, {
boxSizing: 'border-box',
border: '1px solid #E9EFF4',
borderRadius: '6px',
backgroundColor: '#FFFFFF',
boxShadow: '0 4px 8px 0 rgba(0,0,0,0.1)',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
maxHeight: '90%',
flex: '0 1 90%',
});

function DialogPlate({
Expand Down
1 change: 1 addition & 0 deletions src/atoms/Modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const OverlayTag = createStyledTag(name, (props): * => ({
const ModalTag = createStyledTag(name, {
height: '100%',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
});
Expand Down

0 comments on commit f744042

Please sign in to comment.