From ad7efde7ec86a9e25567d6fb554b011d2aed6ee2 Mon Sep 17 00:00:00 2001 From: YutaSugimura Date: Fri, 20 Nov 2020 01:48:12 +0900 Subject: [PATCH 1/2] Add new Devices --- addons/viewport/src/defaults.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/addons/viewport/src/defaults.ts b/addons/viewport/src/defaults.ts index 6fd59c4e3eee..cfda80c12917 100644 --- a/addons/viewport/src/defaults.ts +++ b/addons/viewport/src/defaults.ts @@ -57,6 +57,38 @@ export const INITIAL_VIEWPORTS: ViewportMap = { }, type: 'mobile', }, + iphonese2: { + name: 'iPhone SE (2nd generation)', + styles: { + height: '667px', + width: '375px', + }, + type: 'mobile', + }, + iphone12mini: { + name: 'iPhone 12 mini', + styles: { + height: '812px', + width: '375px', + }, + type: 'mobile', + }, + iphone12: { + name: 'iPhone 12', + styles: { + height: '844px', + width: '390px', + }, + type: 'mobile', + }, + iphone12promax: { + name: 'iphone 12 Pro Max', + styles: { + height: '926px', + width: '428px', + }, + type: 'mobile', + }, ipad: { name: 'iPad', styles: { From a878dfe0e816b67e19feb81efdc1e8e7eccdc772 Mon Sep 17 00:00:00 2001 From: YutaSugimura Date: Thu, 14 Jan 2021 12:29:38 +0900 Subject: [PATCH 2/2] Fix a typo --- addons/viewport/src/defaults.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/viewport/src/defaults.ts b/addons/viewport/src/defaults.ts index cfda80c12917..754c6c78cbe2 100644 --- a/addons/viewport/src/defaults.ts +++ b/addons/viewport/src/defaults.ts @@ -82,7 +82,7 @@ export const INITIAL_VIEWPORTS: ViewportMap = { type: 'mobile', }, iphone12promax: { - name: 'iphone 12 Pro Max', + name: 'iPhone 12 Pro Max', styles: { height: '926px', width: '428px',