.space-try { min-width: 0; max-width: 100%; } .space-try pre { max-width: 100%; overflow-x: auto; } /* Keep the wrapper at the replay's native aspect ratio before its host measures it. */ .cx-screen { aspect-ratio: 390 / 660; height: auto !important; }