-
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
[App Search] Improve visual design of Promoted Documents panel #115683
[App Search] Improve visual design of Promoted Documents panel #115683
Conversation
|
||
import { LoadingOverlay } from '../../../shared/loading'; | ||
|
||
import './data_panel.scss'; | ||
|
||
interface Props { | ||
type Props = Omit<_EuiPanelDivlike, 'title'> & { |
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'm doing this so I can pass in any arbitrary prop from EuiPanel
into DataPanel
className={classes} | ||
hasShadow={false} | ||
aria-busy={isLoading} | ||
{...props} |
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 move this below so I can pass in a custom color
prop that will overwrite the above logic. This is kind of a hack.
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.
LGTM
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…) (#115768) Co-authored-by: Byron Hulcher <[email protected]>
Summary
Adds a nice blue background and border. I also updated
CurationResult
so it will only have space between results (no trailing margin)I recommend hiding whitespace changes while reviewing
Screenshot
Checklist