How to give Codex feedback on a layout
Show Codex the layout at the screen sizes that matter, identify the affected elements, and describe the desired relationships between them. State what must remain unchanged and require fresh checks at both viewports. A desktop screenshot does not establish the mobile result, and a visual improvement does not prove the controls still work.
Use measured viewport dimensions when you have them. Label illustrative dimensions as examples rather than implying they came from a real test.

Describe the responsive failure, not just the appearance
In the fictional Fieldnote Classes app, three course cards sit correctly in one row on a wide screen. On a narrow screen, the last card is clipped and the buttons extend beyond their cards.
The vague request is:
Make the cards look better on mobile.
That could lead to smaller text, a carousel, different card content, or a new visual design. The intended change is more specific: keep the desktop arrangement and make the same cards usable in a narrow layout.
For this example, 1440 × 900 and 390 × 844 are fictional CSS viewport values chosen for illustration. They are not measurements from a captured site and are not a claim of coverage for every desktop or phone.
A useful screenshot pair would show the same route, course data, and signed-in state at those two sizes. Label the images “current desktop” and “current narrow layout,” not “before” and “after,” because neither is a verified repair.
Use the image-input path for your Codex surface
OpenAI's current image-input documentation describes different paths for the desktop app, web composer, and Codex CLI. Desktop can use a Shift-drag gesture; web supports attaching, pasting, or dragging; CLI supports -i or --image. Read the official image-input instructions.
For a CLI session, this illustrative command uses two local images:
codex --image review/desktop-1440.png,review/mobile-390.png "Inspect these layout states before editing. Use the change request in this project."
The files must actually exist and be accessible to that session. Replace the sample paths with real ones. This is not an installation command or a claim that every web conversation has access to your local filesystem.
Confirm the project and working environment as well as the image input. A cloud task, local CLI session, and desktop workflow can have different files and tools available. Do not assume that a control or connector shown in one interface exists in another.
Specify the relationships that should change
For Fieldnote Classes, the desired result can be described without prescribing a new framework or guessing the underlying CSS:
On the Classes page, preserve the three-card row at the agreed desktop viewport. At the agreed narrow viewport, stack the same three cards in their existing order. Keep each card inside the content area. Keep its title, description, price, and Enroll button readable without horizontal page scrolling. Use the existing small-screen spacing scale: 16 CSS pixels between stacked cards in this fictional example. Preserve card content, images, enrollment destinations, fonts, colors, and desktop spacing. Do not replace the cards with a carousel.
The 16-pixel value is an invented design requirement for this example, not a measurement of the current page. In a real project, use the approved design token or measured reference. If there is no approved spacing rule, ask Codex to identify the existing pattern and propose a small, explicit choice.
A screenshot can show clipping. It cannot tell you with certainty whether the cause is a fixed width, a parent container, a long label, or another rule. Ask Codex to inspect the implementation rather than treating a visual symptom as a confirmed diagnosis.
Copy the full desktop-and-mobile request
Project and route: [existing project and Classes route] Current version/preview: [actual reference] Images: [actual desktop and narrow-layout filenames] Viewport evidence: [measured dimensions, or clearly labeled examples] Observed issue The desktop row is acceptable. In the narrow layout, a card is clipped and the Enroll buttons extend outside their cards. Requested outcome Preserve the desktop row. Stack the cards in the current order on the narrow layout. Keep all content and controls within the content area. Use the approved spacing reference supplied with this request. Preserve Content, enrollment destinations, card order, design styles, and the working desktop arrangement. No carousel or unrelated redesign. Inspect before editing Identify the responsible layout rules and shared components. Explain any necessary change that would affect other pages before expanding scope. Check after editing Render the same route and data at both agreed viewports. Check for clipping, overlap, unwanted horizontal scrolling, and readable labels. Exercise each Enroll action using the approved test workflow. Report the tested environment, version, evidence, and unverified limits. Do not publish or complete a paid enrollment as part of this task.
For the underlying request pattern, see explaining changes to an AI coding agent.
Check visual results and interactions separately
Use a small acceptance checklist rather than one broad “responsive” checkbox.
| Check | Evidence needed |
|---|---|
| Desktop row preserved | Fresh desktop render at the agreed viewport |
| Narrow cards fit | Fresh narrow render showing all cards and page edges |
| Text and controls remain readable | Inspection of wrapping, clipping, and overlap |
| Enrollment destinations preserved | Interaction or destination checks for the relevant buttons |
| Shared layouts remain acceptable | Focused checks on other affected uses, if any |
OpenAI's responsive-design example describes using browser-based visual checks with Playwright. See that documented workflow. Treat the tool as an option when it is available and configured, not as a capability every Codex session automatically possesses.
Without browser access, Codex can inspect code and propose or implement a change. The visual acceptance checks still remain unverified until someone renders and inspects the result.
Test the boundary, not every possible device
Two viewports are a useful starting point, not exhaustive coverage. If the layout switches near a breakpoint, inspect a nearby width when that is relevant to the repair. A breakpoint is a width at which the layout rules change.
Use realistic content, especially a long course title or button label that could wrap. Keep those test inputs explicit. Do not silently shorten the text to make the layout pass when preserving the content is part of the request.
Record the actual coverage in the implementation checklist. “Checked at two named widths” is an honest result. “Works on all devices” would claim more than those checks establish.
Keep the latest references with the task
After a successful check, distinguish the original problem images from the post-change evidence. Include the version or preview reference so a later agent does not compare unrelated builds.
If work moves between conversations, update the existing agent handoff document with the remaining viewport and interaction checks. Do not mark the entire task verified because one screenshot looks better.
SnapDictate can organize the marked views and your spoken or written layout instructions into a review. Codex must still inspect the accessible images, work in the correct project, and verify the resulting interface. See the screenshot handoff workflow.
Codex layout questions
Should I send only the broken mobile screenshot?
Include the working desktop reference when preserving it is part of the task. Otherwise, the agent has less evidence for the arrangement you want to keep.
Is a phone's physical resolution the same as the viewport?
Not necessarily. CSS pixels and physical display pixels can differ. Record the browser or testing tool's CSS viewport when that is what the layout check uses. Do not substitute a device's advertised screen resolution for a measurement you did not take.
What if Codex reports success but I see the old layout?
First confirm that you are viewing the same environment and version it changed. Then compare the evidence and repeat the agreed check. A stale or different preview is a possibility to investigate, not a diagnosis to assume.
Sources
Published by SnapDictate / RepX Inc., the maker of the product mentioned here. About and corrections.