Skip to content

Commit

Permalink
[Security Solution] Fix Dashboard landing page images (#137271)
Browse files Browse the repository at this point in the history
* overview image changed and size fixed

* cloud posture image fixed

* remove unused video svg

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
semd and kibanamachine authored Jul 27, 2022
1 parent 483f484 commit a9c1ac9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ import * as i18n from './translations';
import endpointSvg from '../../images/endpoint1.svg';
import cloudSvg from '../../images/cloud1.svg';
import siemSvg from '../../images/siem1.svg';
import videoSvg from '../../images/video.svg';
import { ADD_DATA_PATH } from '../../../../common/constants';
import { useKibana } from '../../lib/kibana';

const imgUrls = {
cloud: cloudSvg,
siem: siemSvg,
video: videoSvg,
endpoint: endpointSvg,
};

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ export const LandingLinksImages: React.FC<LandingImagesProps> = ({ items }) => (
</EuiFlexGroup>
);

const CARD_WIDTH = 320;
const LandingImageCardItem = styled(EuiFlexItem)`
max-width: 364px;
max-width: ${CARD_WIDTH}px;
`;

const LandingCardDescription = styled.span`
Expand Down Expand Up @@ -112,7 +113,7 @@ export const LandingImageCards: React.FC<LandingImagesProps> = React.memo(({ ite
<EuiImage
data-test-subj="LandingImageCard-image"
role="presentation"
size={364}
size={CARD_WIDTH}
alt={title}
src={image}
/>
Expand Down

0 comments on commit a9c1ac9

Please sign in to comment.