[SharedUX] SCSS migration image_embeddable plugin (#216045)

## Summary

This PR is a part of SCSS migration of SharedUX team code.
Here is a [meta](https://github.com/elastic/kibana-team/issues/1417)
issue for it.
This commit is contained in:
Paulina Shakirova 2025-04-04 11:44:21 +02:00 committed by GitHub
parent 8d9e253469
commit 8b848120d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 10 deletions

View file

@ -1,8 +0,0 @@
// By default dashboards' react-grid disables all pointer events for <img> tags.
// We want to revert this behaviour for image embeddable images as they may be interactive.
// We also don't want to block a native context menu on images.
/* stylelint-disable-next-line selector-no-qualifying-type */
.react-grid-item img.imageEmbeddableImage {
user-select: initial;
pointer-events: initial;
}

View file

@ -21,8 +21,6 @@ import { createValidateUrl } from '../utils/validate_url';
import { ImageViewer } from './image_viewer';
import { ImageViewerContext } from './image_viewer/image_viewer_context';
import './image_embeddable.scss';
interface ImageEmbeddableProps {
api: ImageEmbeddableApi & {
setDataLoading: (loading: boolean | undefined) => void;