-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RaisedButton wrapped in Link from react-router have CSS issues #2485
Comments
ToolbarGroup passed style down to it's children. but since it's immediate child is Link the RaisedBottom is not receiving the props. can you use something else and try again? |
I have the same issue. Did you find any trick to bypass it ? |
It looks like ReactRouter |
Hmm… that's annoying. Don't we have any way to make it more "important" ? Or can we add default material-ui styles to |
Try:
The containerElement seems to do the trick of keeping alignment and changing states. |
@mbrookes : I guess this can be closed now. |
@mbrookes is there any way we can add the containerElement to the ToolbarTitle component as well? It's fairly easy to make your own title with the material styling however, it would be more consistent to add it into the library. Thoughts? I can create a new issue if you agree. |
ok ... sorry but I can't get this to work ? |
The trick here seems to be using the @salfej tip seems to be working. |
I know this issue has been closed by I am also facing similar issues using the This is my code:
Any ideas? |
I'm not sure if this should also be posted on react-router.
Using the following toolbar configuration:
As you can see, when wrapped into Link from react-router the CSS is wrong.
Should I wrap it another way?
Thank you for your great work on this awesome library.
The text was updated successfully, but these errors were encountered: