Skip to content

Commit

Permalink
fix: flex (#2581)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfu1 authored Jul 3, 2024
1 parent eb5937d commit 519580c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/plots/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.2.5

`2024-07-03`

- 🐞 修复 flex 模式下,无法默认适应容器宽度问题

## 2.2.4

`2024-06-20`
Expand Down
2 changes: 1 addition & 1 deletion packages/plots/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/plots",
"version": "2.2.4",
"version": "2.2.5",
"description": "G2Plot Statistical chart",
"bugs": {
"url": "https://github.com/ant-design/ant-design-charts/issues"
Expand Down
1 change: 1 addition & 0 deletions packages/plots/src/components/base/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const BaseChart: ForwardRefExoticComponent<PropsWithoutRef<CommonConfig>
const {
containerStyle = {
height: 'inherit',
flex: 1
},
containerAttributes = {},
className,
Expand Down

0 comments on commit 519580c

Please sign in to comment.