Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
fix(modal): fix modal backdrop (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge authored Jun 15, 2018
1 parent 824eaf6 commit 8a00c08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ const Modal = styled(ModalComponent)`
bottom: 0;
left: 0;
background-color: ${th('modalBackdropBg')};
opacity: 0.5;
}
`

Expand Down
2 changes: 1 addition & 1 deletion src/theme/defaultTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export const displayLineHeight = th('headingsLineHeight')

// Modals

export const modalBackdropBg = th('black')
export const modalBackdropBg = 'rgba(0, 0, 0, 0.5)'

export const modalInnerPadding = '1rem'
export const modalTransitionDuration = 300 // ms
Expand Down

0 comments on commit 8a00c08

Please sign in to comment.