Skip to content

Commit 498cbf1

Browse files
committed
do not render the div if nothing to renders as children
1 parent d716953 commit 498cbf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vue-vuetify/src/layouts/HorizontalLayoutRenderer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<v-container
3-
v-if="layout.visible"
3+
v-if="layout.visible && (layout.uischema as Layout).elements.length > 0"
44
:class="`${styles.horizontalLayout.root}`"
55
v-bind="vuetifyProps('v-container')"
66
>

packages/vue-vuetify/src/layouts/VerticalLayoutRenderer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<v-container
3-
v-if="layout.visible"
3+
v-if="layout.visible && (layout.uischema as Layout).elements.length > 0"
44
fill-height
55
:class="`${styles.verticalLayout.root}`"
66
v-bind="vuetifyProps('v-container')"

0 commit comments

Comments
 (0)