diff --git a/src/components/data-display/Empty/Empty.stories.tsx b/src/components/data-display/Empty/Empty.stories.tsx index e72e1c44b..83dc20610 100644 --- a/src/components/data-display/Empty/Empty.stories.tsx +++ b/src/components/data-display/Empty/Empty.stories.tsx @@ -55,7 +55,7 @@ export const NoImage: Story = { export const AltImage: Story = { args: { image: Empty.PRESENTED_IMAGE_SIMPLE, - imageStyle: { width: '100px', height: '62px', margin: 'auto' }, + imageStyle: { width: '100px', height: '62px' }, }, } diff --git a/src/components/data-display/Empty/empty.css b/src/components/data-display/Empty/empty.css index beb7293fd..c919bcf09 100644 --- a/src/components/data-display/Empty/empty.css +++ b/src/components/data-display/Empty/empty.css @@ -1,3 +1,7 @@ -.ant-empty-image > svg{ - width: auto !important; +.ant-empty-image { + margin: auto !important; +} + +.ant-empty-image > svg { + width: auto !important; } \ No newline at end of file