-
Notifications
You must be signed in to change notification settings - Fork 8.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
[ML] Remove data frame analytics scss files #199572
Changes from 4 commits
7bde084
2687d61
999a7c7
b8c999e
b985829
9ffc9a0
beefc58
90a1db0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ export const ViewResultsPanel: FC<Props> = ({ jobId, analysisType }) => { | |
return ( | ||
<Fragment> | ||
<EuiCard | ||
className="dfAnalyticsCreationWizard__card" | ||
css={{ width: '300px' }} | ||
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. Use an EUI size variable to calculate this. 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. Thanks for taking a look, @andreadelrio 🙏 Could you explain why it would be a better practice to use the variable? 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. @alvarezmelissa87 In general we recommend not using any hardcoded values even for larger values. The idea is precisely that if the EUI variable were to changes (which is highly unlikely) all the layouts and containers in Kibana change their size according to the new value defined in the design system. Here are some examples of this practice in our codebase. See: ![]() ![]() ![]() 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. @andreadelrio - Thanks for the response - updated to use eui size variable in 9ffc9a0 |
||
icon={<EuiIcon size="xxl" type="visTable" />} | ||
title={i18n.translate('xpack.ml.dataframe.analytics.create.viewResultsCardTitle', { | ||
defaultMessage: 'View Results', | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
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.
Use an EUI size variable to calculate this.