diff --git a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue index 7129eb5913..c9787b69d3 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -154,6 +154,9 @@ const componentBackgroundStyle = computed(() => { } else { style['background-color'] = colorRGBA } + if (element.value.component !== 'UserView') { + style['overflow'] = 'hidden' + } return style } return {} diff --git a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue index 5acb5f7b73..d35f8a7278 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue @@ -789,6 +789,9 @@ const componentBackgroundStyle = computed(() => { } else { style['background-color'] = colorRGBA } + if (element.value.component !== 'UserView') { + style['overflow'] = 'hidden' + } return style } return {}