Skip to content
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

[Question] How do you set it to the actual size of the device? #84

Open
MarkLyck opened this issue Mar 15, 2021 · 1 comment
Open

[Question] How do you set it to the actual size of the device? #84

MarkLyck opened this issue Mar 15, 2021 · 1 comment

Comments

@MarkLyck
Copy link

I'm working on a content editor.

I want to be able to show previews of what the content would look like on e.g. a mobile, Tablet, desktop etc.

To show an accurate preview the "device mockup" needs to be the actual size of the device.

Right now this seems to make a mockup with just the correct aspect ratio, but I don't see any way to set the size to set the screen size to the actual size of the device? Am I missing something or is this not supported?

@Aryanpathak12002417
Copy link

We Can Only Set the width of the devices by assigning class to conatiner having class device.
And the reason I think is it is maintaining it's ascpect ratio for landscape it might be 16:9 and for portrait it could be 9:16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants