-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add additional device options to addon-viewport #3918
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3918 +/- ##
=======================================
Coverage 41.55% 41.55%
=======================================
Files 455 455
Lines 5179 5179
Branches 899 899
=======================================
Hits 2152 2152
Misses 2487 2487
Partials 540 540
Continue to review full report at Codecov.
|
Thank you @camel-floss! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too familiar with viewports
, but does it matter that certain entries don't have a type
property?
@Keraito I am not sure it matters, but consistency-wise it hurts my eyes. |
@igor-dv Done! |
Wow super quick @camel-floss 👏 |
@@ -40,6 +40,22 @@ export const INITIAL_VIEWPORTS = { | |||
}, | |||
type: 'mobile', | |||
}, | |||
iphone8p: { | |||
name: 'iPhone 7 Plus', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean iPhone 8 Plus
, right?
This works on top of #3099 so it can't go to 3.4 release, sorry |
Good catch! |
Issue: #3915
What I did
Added iPhone, iPad, Samsung Galaxy and Google Pixel models to the list of devices in
addon-viewport
How to test
I spun up the
html-kitchen-sink
example and was able to see the new devices and sizes.