forked from reactjs/react-modal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fixed] Custom classnames override default styles
This makes it so if you provide a custom className it will override all the default styling, relying solely on the style props you pass in and the className itself. Prior to this commit, providing a className or overlayClassName doesn't really have any effect because the style attribute has higher precedent when applying styles.
- Loading branch information
1 parent
1a0a069
commit 63bee72
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters