We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21d85ea commit 6647113Copy full SHA for 6647113
components/drawer/index.tsx
@@ -285,9 +285,13 @@ const Drawer = defineComponent({
285
});
286
287
const wrapperStyle = computed(() => {
288
- const { zIndex } = props;
+ const { zIndex, contentWrapperStyle } = props;
289
const val = offsetStyle.value;
290
- return [{ zIndex, transform: sPush.value ? pushTransform.value : undefined }, val];
+ return [
291
+ { zIndex, transform: sPush.value ? pushTransform.value : undefined },
292
+ { ...contentWrapperStyle },
293
+ val,
294
+ ];
295
296
297
const renderHeader = (prefixCls: string) => {
0 commit comments