Reputation: 1296
I can't figure out how I can override React Bootstrap css without using inline styles? For example, I'm rendering an Alert
I made some css changes, but they are not getting applied since they are lower in priority.
In this example, you can see that I'm trying to override the padding:
I don't want to have to use inline styles And I don't think !important
is the way to go. Is there a better way to do this?
Upvotes: 0
Views: 2375
Reputation: 117
Create a new class, add the appropriate css, and assign this class instead?
Upvotes: 0