diff --git a/Build/Sources/Sass/module/_page.scss b/Build/Sources/Sass/module/_page.scss
index 9b954deea0d12cff3afb4ed661640c77cf992dba..17e2ea0c90f30eb3b290af4a14d33e173e7fbb10 100644
--- a/Build/Sources/Sass/module/_page.scss
+++ b/Build/Sources/Sass/module/_page.scss
@@ -142,7 +142,6 @@ html {
     position: relative;
     margin: var(--pagemodule-grid-spacing) var(--pagemodule-grid-inner-spacing);
     transition: height .4s ease-out;
-    overflow: hidden;
 
     &.active-drag {
         z-index: 4500;
@@ -162,6 +161,7 @@ html {
     border-radius: var(--pagemodule-element-border-radius);
     box-shadow: var(--pagemodule-element-box-shadow);
     margin-bottom: var(--pagemodule-grid-spacing);
+    overflow: hidden;
 
     .t3-page-ce-hidden & {
         opacity: .5;
diff --git a/typo3/sysext/backend/Resources/Public/Css/backend.css b/typo3/sysext/backend/Resources/Public/Css/backend.css
index de97e2314501ff212f4a142dc8eade2e1b47d968..0a9a7da00da054b39e0c0acd1c02e08d084e3b0f 100644
--- a/typo3/sysext/backend/Resources/Public/Css/backend.css
+++ b/typo3/sysext/backend/Resources/Public/Css/backend.css
@@ -4390,10 +4390,10 @@ html{scroll-behavior:smooth}
 .t3-page-column-header-icons:hover{opacity:1}
 .t3-page-lang-copyce{margin:var(--pagemodule-grid-spacing)}
 .t3-page-lang-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
-.t3-page-ce{display:block;position:relative;margin:var(--pagemodule-grid-spacing) var(--pagemodule-grid-inner-spacing);transition:height .4s ease-out;overflow:hidden}
+.t3-page-ce{display:block;position:relative;margin:var(--pagemodule-grid-spacing) var(--pagemodule-grid-inner-spacing);transition:height .4s ease-out}
 .t3-page-ce.active-drag{z-index:4500}
 .t3-page-ce[data-dragdrop-clone] .t3-page-ce-element{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.25}
-.t3-page-ce-element{border:1px solid var(--pagemodule-element-bg);background-color:var(--pagemodule-element-bg);border-radius:var(--pagemodule-element-border-radius);box-shadow:var(--pagemodule-element-box-shadow);margin-bottom:var(--pagemodule-grid-spacing)}
+.t3-page-ce-element{border:1px solid var(--pagemodule-element-bg);background-color:var(--pagemodule-element-bg);border-radius:var(--pagemodule-element-border-radius);box-shadow:var(--pagemodule-element-box-shadow);margin-bottom:var(--pagemodule-grid-spacing);overflow:hidden}
 .t3-page-ce-hidden .t3-page-ce-element{opacity:.5;border:1px dashed rgba(0,0,0,.5);background-color:var(--pagemodule-element-hidden-bg);box-shadow:none;transition:opacity .3s ease-in-out}
 .t3-page-ce-hidden .t3-page-ce-element:hover{opacity:1}
 .t3-page-ce-warning .t3-page-ce-element{border:1px solid var(--pagemodule-element-warning-border-color);background-color:var(--pagemodule-element-warning-bg);box-shadow:none}