diff --git a/make_post_sell/static/css/common.css b/make_post_sell/static/css/common.css index 383685b..aa4f8b8 100644 --- a/make_post_sell/static/css/common.css +++ b/make_post_sell/static/css/common.css @@ -468,11 +468,19 @@ div.product-images img.product-main { } /* Prevent content sections from overflowing */ -.product-description, +.product-description { + max-width: 100%; + overflow-x: auto; + box-sizing: border-box; + overflow-wrap: break-word; +} + +/* Use overflow-x: clip on .content so it clips without creating a scroll + container — overflow-x: auto breaks position: sticky for descendants */ .content, section.content { max-width: 100%; - overflow-x: auto; + overflow-x: clip; box-sizing: border-box; overflow-wrap: break-word; } @@ -1482,6 +1490,7 @@ textarea.markup-editor-textarea { .watch-left { grid-area: left; + min-width: 0; } /* In watch mode, child divs inside watch-left are plain block elements */ @@ -2564,6 +2573,8 @@ textarea { top: 0; z-index: 10; background: var(--bg-primary, #ffffff); + overflow: hidden; + max-width: 100%; } /* Watch video container for unmute overlay positioning */