From ca7570ffc6da8ad3ad3d24b1021e3be7da5e82c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Sat, 23 May 2026 16:34:39 +0200 Subject: [PATCH] feat(browser): add missing devices in viewports --- packages/browser/src/viewport.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/browser/src/viewport.ts b/packages/browser/src/viewport.ts index a65b39eb..6f073bb0 100644 --- a/packages/browser/src/viewport.ts +++ b/packages/browser/src/viewport.ts @@ -12,18 +12,26 @@ const viewportPresets = { "macbook-16": { width: 1536, height: 960 }, "macbook-15": { width: 1440, height: 900 }, "macbook-13": { width: 1280, height: 800 }, + "macbook-neo": { width: 1204, height: 753 }, "macbook-11": { width: 1366, height: 768 }, + "ipad-13-pro": { width: 1032, height: 1376 }, + "ipad-11-pro-m5": { width: 834, height: 1210 }, + "ipad-13-air": { width: 1024, height: 1366 }, + "ipad-11-air": { width: 820, height: 1180 }, + "ipad-11": { width: 820, height: 1180 }, "ipad-12-pro": { width: 1024, height: 1366 }, "ipad-11-pro": { width: 834, height: 1194 }, "ipad-10": { width: 810, height: 1080 }, "ipad-10-pro": { width: 834, height: 1112 }, "ipad-9-pro": { width: 768, height: 1024 }, "ipad-2": { width: 768, height: 1024 }, + "ipad-mini-a17": { width: 744, height: 1133 }, "ipad-mini": { width: 768, height: 1024 }, "iphone-air": { width: 420, height: 912 }, "iphone-17": { width: 402, height: 874 }, "iphone-17-pro": { width: 402, height: 873 }, "iphone-17-pro-max": { width: 440, height: 956 }, + "iphone-17e": { width: 390, height: 844 }, "iphone-16": { width: 393, height: 852 }, "iphone-16e": { width: 390, height: 844 }, "iphone-16-plus": { width: 430, height: 932 },