-
Notifications
You must be signed in to change notification settings - Fork 15.3k
style(Button): Vertically align icons across all buttons and remove box shadow #34067
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -774,10 +774,17 @@ function ChartList(props: ChartListProps) { | |
if (canCreate) { | ||
subMenuButtons.push({ | ||
name: ( | ||
<> | ||
<span | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here it seems that we could either change the Seems passing in an array of buttons is more reasonable, but looks like SubMenu is used in many places:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Personally I'm in favor of refactoring/fixing over adding yet another layer on top. |
||
style={{ | ||
display: 'inline-flex', | ||
alignItems: 'center', | ||
lineHeight: 0, | ||
verticalAlign: 'middle', | ||
}} | ||
> | ||
<Icons.PlusOutlined iconSize="m" /> | ||
<span>{t('Chart')}</span> | ||
</> | ||
</span> | ||
), | ||
buttonStyle: 'primary', | ||
onClick: () => { | ||
|
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.