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

print support #226

Closed
trajano opened this issue Apr 17, 2023 · 1 comment
Closed

print support #226

trajano opened this issue Apr 17, 2023 · 1 comment
Labels

Comments

@trajano
Copy link

trajano commented Apr 17, 2023

Can you include a way of determining "print" and also the page sizes like width = 8.5in

@jackmcpickle
Copy link
Collaborator

Not sure what you mean exactly @trajano

You can already do print media queries. But setting page width needs to be done inside the @page selector.

This is valid code.

@include media('print') {
    @page {
      size: 5.5in 8.5in;
    }
}

@trajano trajano closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants