diff --git a/packages/effects/common-ui/src/components/page/page.vue b/packages/effects/common-ui/src/components/page/page.vue index 65560d4e..90e00080 100644 --- a/packages/effects/common-ui/src/components/page/page.vue +++ b/packages/effects/common-ui/src/components/page/page.vue @@ -39,9 +39,7 @@ const footerRef = useTemplateRef('footerRef'); const contentStyle = computed(() => { if (autoContentHeight) { return { - height: shouldAutoHeight.value - ? `calc(var(${CSS_VARIABLE_LAYOUT_CONTENT_HEIGHT}) - ${headerHeight.value}px)` - : '0', + height: `calc(var(${CSS_VARIABLE_LAYOUT_CONTENT_HEIGHT}) - ${headerHeight.value}px)`, overflowY: shouldAutoHeight.value ? 'auto' : 'unset', }; }