Skip to content

How to style className using attrs #245

Closed Answered by ben-rogerson
juhaelee asked this question in Q&A
Discussion options

You must be logged in to vote

We have a bit of a weird case here as we're trying to style a modal that's rendering within a portal.
So we'll need to use global styles here to style just these couple of elements.

Here's a demo on how you can style the modal with global styles

For the styling of the actual modal content, you shouldn't have any problems styling them like normal 👍

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@juhaelee
Comment options

@ben-rogerson
Comment options

@juhaelee
Comment options

@ben-rogerson
Comment options

@juhaelee
Comment options

Comment options

You must be logged in to vote
1 reply
@juhaelee
Comment options

Answer selected by juhaelee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants