-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Fix <Appbar>
buttons don't have consistent spacing
#8356
Conversation
|
||
const Root = styled(Box, { | ||
name: PREFIX, | ||
overridesResolver: (props, styles) => styles.root, | ||
})(({ theme }) => ({ | ||
[`& .${LocalesMenuButtonClasses.selectedLanguage}`]: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change requires a doc update
onClick={() => setOpen(!open)} | ||
size="large" | ||
> | ||
<StyledIconButton color="inherit" onClick={() => setOpen(!open)}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#8350 also suggested to pass the ...rest
props to the button, don't you think we should do it too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#8350 also suggested to pass the
...rest
props to the button, don't you think we should do it too?
+1 on this. And in ToggleThemeButton
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the need for this
onClick={() => setOpen(!open)} | ||
size="large" | ||
> | ||
<StyledIconButton color="inherit" onClick={() => setOpen(!open)}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#8350 also suggested to pass the
...rest
props to the button, don't you think we should do it too?
+1 on this. And in ToggleThemeButton
Before
After
Closes #8347