Skip to content

Commit

Permalink
Merge branch 'main' into fix/icons-name
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyzif authored Aug 13, 2024
2 parents 0668db9 + b47c45f commit ee2bf04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/data-display/Empty/Empty.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const NoImage: Story = {
export const AltImage: Story = {
args: {
image: Empty.PRESENTED_IMAGE_SIMPLE,
imageStyle: { width: '100px', height: '62px', margin: 'auto' },
},
}

Expand Down
1 change: 1 addition & 0 deletions src/components/data-display/Empty/Empty.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Empty as AntEmpty } from 'antd'
import { type EmptyProps as AntEmptyProps } from 'antd'
import { ConfigProvider } from 'src/components'
import './empty.css'

export interface IEmptyProps extends AntEmptyProps {}

Expand Down
3 changes: 3 additions & 0 deletions src/components/data-display/Empty/empty.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.ant-empty-image > svg{
width: auto !important;
}

0 comments on commit ee2bf04

Please sign in to comment.