-
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
[Canvas] Fix asset image preview #54659
[Canvas] Fix asset image preview #54659
Conversation
Pinging @elastic/kibana-canvas (Team:Canvas) |
5139be6
to
d3ee3bc
Compare
@poffdeluxe did you test the Logs workpad too? That one has the SVGs that wouldn't load for me. |
@ryankeairns Logs assets are lookin' good to me: |
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, checked all three sample workpads plus one of my own.
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* fix image preview * Center image in asset box * Updating snapshot Co-authored-by: Ryan Keairns <[email protected]>
* fix image preview * Center image in asset box * Updating snapshot Co-authored-by: Ryan Keairns <[email protected]> Co-authored-by: Ryan Keairns <[email protected]>
* fix image preview * Center image in asset box * Updating snapshot Co-authored-by: Ryan Keairns <[email protected]>
Summary
Modification of the CSS to get images displaying again in the asset manager while also maintaining a nice aspect ratio.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support- [ ] Documentation was added for features that require explanation or tutorials- [ ] Unit or functional tests were updated or added to match the most common scenarios- [ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers