{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-modal/issues/100","labels_url":"https://api.github.com/repos/rackt/react-modal/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-modal/issues/100/comments","events_url":"https://api.github.com/repos/rackt/react-modal/issues/100/events","html_url":"https://github.com/rackt/react-modal/pull/100","id":115406733,"number":100,"title":"[fixed] Custom classnames override default styles","user":{"login":"claydiffrient","id":606262,"avatar_url":"https://avatars.githubusercontent.com/u/606262?v=3","gravatar_id":"","url":"https://api.github.com/users/claydiffrient","html_url":"https://github.com/claydiffrient","followers_url":"https://api.github.com/users/claydiffrient/followers","following_url":"https://api.github.com/users/claydiffrient/following{/other_user}","gists_url":"https://api.github.com/users/claydiffrient/gists{/gist_id}","starred_url":"https://api.github.com/users/claydiffrient/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claydiffrient/subscriptions","organizations_url":"https://api.github.com/users/claydiffrient/orgs","repos_url":"https://api.github.com/users/claydiffrient/repos","events_url":"https://api.github.com/users/claydiffrient/events{/privacy}","received_events_url":"https://api.github.com/users/claydiffrient/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-06T00:23:06Z","updated_at":"2015-12-09T16:21:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rackt/react-modal/pulls/100","html_url":"https://github.com/rackt/react-modal/pull/100","diff_url":"https://github.com/rackt/react-modal/pull/100.diff","patch_url":"https://github.com/rackt/react-modal/pull/100.patch"},"body":"This makes it so if you provide a custom className it will override\r\nall the default styling, relying solely on the style props you pass\r\nin and the className itself.\r\n\r\nPrior to this commit, providing a className or overlayClassName\r\ndoesn't really have any effect because the style attribute has higher\r\nprecedent when applying styles."},"comment":{"url":"https://api.github.com/repos/rackt/react-modal/issues/comments/163312066","html_url":"https://github.com/rackt/react-modal/pull/100#issuecomment-163312066","issue_url":"https://api.github.com/repos/rackt/react-modal/issues/100","id":163312066,"user":{"login":"claydiffrient","id":606262,"avatar_url":"https://avatars.githubusercontent.com/u/606262?v=3","gravatar_id":"","url":"https://api.github.com/users/claydiffrient","html_url":"https://github.com/claydiffrient","followers_url":"https://api.github.com/users/claydiffrient/followers","following_url":"https://api.github.com/users/claydiffrient/following{/other_user}","gists_url":"https://api.github.com/users/claydiffrient/gists{/gist_id}","starred_url":"https://api.github.com/users/claydiffrient/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claydiffrient/subscriptions","organizations_url":"https://api.github.com/users/claydiffrient/orgs","repos_url":"https://api.github.com/users/claydiffrient/repos","events_url":"https://api.github.com/users/claydiffrient/events{/privacy}","received_events_url":"https://api.github.com/users/claydiffrient/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T16:21:18Z","updated_at":"2015-12-09T16:21:18Z","body":"I've been using this for a bit now... the only caveat that I've come across is that no default styles get applied... so you need to pass in the the default styles that may/may not matter to you into the styles prop when creating the modal."}}