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

Add support for project.viewport #123

Closed
Mortaro opened this issue Dec 5, 2021 · 0 comments
Closed

Add support for project.viewport #123

Mortaro opened this issue Dec 5, 2021 · 0 comments
Assignees

Comments

@Mortaro
Copy link
Member

Mortaro commented Dec 5, 2021

Project should have a viewport key that is used to generate the template

you should be able to configure the viewport by both using

project.viewport = "width=device-width, initial-scale=1, shrink-to-fit=no";

or

NULLSTACK_PROJECT_VIEWPORT="width=device-width, initial-scale=1, shrink-to-fit=no"

The default value for viewport should be

width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no viewport-fit=cover

relevant files

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