-
-
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] Cannot override styles #644
Comments
Hi @timnity, can you please provide a screenshot and/or code example of what you are doing? |
I think i am experiencing the same problem. When I use inline style to alter raisedButton
the button itself will be resized, but when you hover over the button, the color change will only happen around the default area. I tried to used the ThemeManager to override the style but haven't got it to work yet. |
+1, I have the same issue
|
@alshain Your style object is wrong. Material-UI requires camelCase so you need to change it to this
|
@MycChiu Try removing the quotes from your property keys. It works fine for me. |
@sothychan You're right! There was another issue though, in that custom styles didn't work when you used a RaisedButton inside a ToolbarGroup |
when I use this
<RaisedButton style={{marginLeft: 300}} type="submit" label="Login" secondary={true} />
the RaisedButton component will display tow layer
The text was updated successfully, but these errors were encountered: