Skip to content

Commit ef85dd3

Browse files
committed
fix: contentWidth
1 parent c15c6e6 commit ef85dd3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const BasicLayout = defineComponent({
8282
isMobile={state.isMobile}
8383
fixSiderbar={state.fixSiderbar}
8484
fixedHeader={state.fixedHeader}
85-
contentWidth={'Fixed'}
85+
contentWidth={'Fluid'}
8686
primaryColor={'#1890ff'}
8787
contentStyle={{ minHeight: '300px' }}
8888
siderWidth={state.sideWidth}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ant-design-vue/pro-layout",
3-
"version": "3.0.0-beta.11",
3+
"version": "3.0.0-beta.12",
44
"main": "./lib/index.js",
55
"module": "./es/index.js",
66
"repository": {

src/BasicLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const ProLayout = defineComponent({
182182
itemRender: breadcrumbRender,
183183
};
184184
}),
185-
contentWidth: 'Fluid',
185+
contentWidth: refProps.contentWidth, // 'Fluid',
186186
layout: refProps.layout,
187187
navTheme: refProps.navTheme,
188188
splitMenus: refProps.splitMenus,

0 commit comments

Comments
 (0)