diff --git a/packages/core/src/components/EmptyState/EmptyState.stories.tsx b/packages/core/src/components/EmptyState/EmptyState.stories.tsx index 8f846797a1..dcfba73227 100644 --- a/packages/core/src/components/EmptyState/EmptyState.stories.tsx +++ b/packages/core/src/components/EmptyState/EmptyState.stories.tsx @@ -26,13 +26,9 @@ export default { const containerStyle = { width: '100%', height: '100vh' }; -export const Field = () => ( +export const MissingAnnotation = () => (
- +
); @@ -80,9 +76,3 @@ export const WithAction = () => ( /> ); - -export const MissingAnnotation = () => ( -
- -
-); diff --git a/packages/core/src/components/EmptyState/EmptyState.tsx b/packages/core/src/components/EmptyState/EmptyState.tsx index 4469c3ce86..1af5ff6dd5 100644 --- a/packages/core/src/components/EmptyState/EmptyState.tsx +++ b/packages/core/src/components/EmptyState/EmptyState.tsx @@ -17,7 +17,6 @@ import React from 'react'; import { makeStyles, Typography, Grid } from '@material-ui/core'; import { EmptyStateImage } from './EmptyStateImage'; -import Background from './assets/Background.svg'; const useStyles = makeStyles(theme => ({ root: { @@ -30,10 +29,6 @@ const useStyles = makeStyles(theme => ({ imageContainer: { position: 'relative', }, - backgroundImage: { - position: 'absolute', - width: '100%', - }, })); type Props = { @@ -66,11 +61,6 @@ export const EmptyState = ({ title, description, missing, action }: Props) => { - background diff --git a/packages/core/src/components/EmptyState/EmptyStateImage.tsx b/packages/core/src/components/EmptyState/EmptyStateImage.tsx index 49598ae6db..d52a0f7dcf 100644 --- a/packages/core/src/components/EmptyState/EmptyStateImage.tsx +++ b/packages/core/src/components/EmptyState/EmptyStateImage.tsx @@ -27,7 +27,7 @@ type Props = { const useStyles = makeStyles({ generalImg: { - width: '75%', + width: '95%', zIndex: 2, position: 'absolute', left: '50%', diff --git a/packages/core/src/components/EmptyState/assets/Background.svg b/packages/core/src/components/EmptyState/assets/Background.svg deleted file mode 100644 index ce9aae6739..0000000000 --- a/packages/core/src/components/EmptyState/assets/Background.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/core/src/components/EmptyState/assets/createComponent.svg b/packages/core/src/components/EmptyState/assets/createComponent.svg index bb8b50e1ef..2634bb7f23 100644 --- a/packages/core/src/components/EmptyState/assets/createComponent.svg +++ b/packages/core/src/components/EmptyState/assets/createComponent.svg @@ -1 +1,36 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/core/src/components/EmptyState/assets/missingAnnotation.svg b/packages/core/src/components/EmptyState/assets/missingAnnotation.svg index 39534656fa..4f69605e6a 100644 --- a/packages/core/src/components/EmptyState/assets/missingAnnotation.svg +++ b/packages/core/src/components/EmptyState/assets/missingAnnotation.svg @@ -1 +1,42 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/core/src/components/EmptyState/assets/noBuild.svg b/packages/core/src/components/EmptyState/assets/noBuild.svg index ef45e1c736..d84f36af30 100644 --- a/packages/core/src/components/EmptyState/assets/noBuild.svg +++ b/packages/core/src/components/EmptyState/assets/noBuild.svg @@ -1 +1,44 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/core/src/components/EmptyState/assets/noInformation.svg b/packages/core/src/components/EmptyState/assets/noInformation.svg index 9a1c230e97..c199cf8b13 100644 --- a/packages/core/src/components/EmptyState/assets/noInformation.svg +++ b/packages/core/src/components/EmptyState/assets/noInformation.svg @@ -1 +1 @@ - \ No newline at end of file +