Skip to content

Commit

Permalink
fix: contentWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
sendya committed Jul 1, 2021
1 parent c15c6e6 commit ef85dd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const BasicLayout = defineComponent({
isMobile={state.isMobile}
fixSiderbar={state.fixSiderbar}
fixedHeader={state.fixedHeader}
contentWidth={'Fixed'}
contentWidth={'Fluid'}
primaryColor={'#1890ff'}
contentStyle={{ minHeight: '300px' }}
siderWidth={state.sideWidth}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design-vue/pro-layout",
"version": "3.0.0-beta.11",
"version": "3.0.0-beta.12",
"main": "./lib/index.js",
"module": "./es/index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/BasicLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const ProLayout = defineComponent({
itemRender: breadcrumbRender,
};
}),
contentWidth: 'Fluid',
contentWidth: refProps.contentWidth, // 'Fluid',
layout: refProps.layout,
navTheme: refProps.navTheme,
splitMenus: refProps.splitMenus,
Expand Down

0 comments on commit ef85dd3

Please sign in to comment.