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 eec6f41 commit 4a20156Copy full SHA for 4a20156
packages/effects/common-ui/src/components/page/page.vue
@@ -39,9 +39,7 @@ const footerRef = useTemplateRef<HTMLDivElement>('footerRef');
39
const contentStyle = computed<StyleValue>(() => {
40
if (autoContentHeight) {
41
return {
42
- height: shouldAutoHeight.value
43
- ? `calc(var(${CSS_VARIABLE_LAYOUT_CONTENT_HEIGHT}) - ${headerHeight.value}px)`
44
- : '0',
+ height: `calc(var(${CSS_VARIABLE_LAYOUT_CONTENT_HEIGHT}) - ${headerHeight.value}px)`,
45
overflowY: shouldAutoHeight.value ? 'auto' : 'unset',
46
};
47
}
0 commit comments