Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Artifact HTML head processing now detects viewport-fit=cover

Claude Code now detects viewport-fit=cover in artifact HTML so fullscreen layouts render correctly

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaArtifactswhat it touches
KindInternal Changesin v2.1.271,
Under the hood

Claude Code now detects viewport-fit=cover in artifact HTML so fullscreen layouts render correctly

What

When Claude Code renders an artifact (a generated piece of code or content, like a small web page), it now scans the artifact's HTML <meta> tags for a viewport setting containing viewport-fit=cover. New internal helpers parse the head of the document for this value, and the process that lifts information out of the artifact's head now also returns a cover true/false field alongside the existing lang field.

Why

viewport-fit=cover is a setting web pages use to tell a browser to fill the entire screen, including areas like notches on phones. By detecting this, Claude Code can adjust how it displays an artifact so full-screen designs show up as intended instead of being boxed in or misrendered.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding doesn't say what Claude Code does with the detected `cover` value beyond making it available.

See this entry in the whole of v2.1.271 →