feat: add screen definitions for ipad gen 5 (#24355)

This commit is contained in:
Marcin Strzyz 2023-07-24 14:57:12 -07:00 committed by GitHub
parent 4ba6d789bc
commit 78a2b7237e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View File

@ -197,6 +197,28 @@
"hasTouch": true,
"defaultBrowserType": "chromium"
},
"iPad (gen 5)": {
"userAgent": "Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1",
"viewport": {
"width": 768,
"height": 1024
},
"deviceScaleFactor": 2,
"isMobile": true,
"hasTouch": true,
"defaultBrowserType": "webkit"
},
"iPad (gen 5) landscape": {
"userAgent": "Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1",
"viewport": {
"width": 1024,
"height": 768
},
"deviceScaleFactor": 2,
"isMobile": true,
"hasTouch": true,
"defaultBrowserType": "webkit"
},
"iPad (gen 6)": {
"userAgent": "Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1",
"viewport": {

View File

@ -19944,6 +19944,8 @@ type Devices = {
"Galaxy S9+ landscape": DeviceDescriptor;
"Galaxy Tab S4": DeviceDescriptor;
"Galaxy Tab S4 landscape": DeviceDescriptor;
"iPad (gen 5)": DeviceDescriptor;
"iPad (gen 5) landscape": DeviceDescriptor;
"iPad (gen 6)": DeviceDescriptor;
"iPad (gen 6) landscape": DeviceDescriptor;
"iPad (gen 7)": DeviceDescriptor;