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

Support @page (print media styles in general) #1279

Open
airtonix opened this issue Jan 22, 2024 · 0 comments
Open

Support @page (print media styles in general) #1279

airtonix opened this issue Jan 22, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Send a PR

Comments

@airtonix
Copy link

looking at how I can write this with vanilla-extract? thoughts?

.pagedjs_page {
  background: white;
  box-shadow: 10px 12px 30px 0 rgba(0, 0, 0, 0.1);
  margin: 1rem;

  @page {
    size: A4;

    @bottom-right {
      content: counter(page);
    }
  }
}

Originally posted by @airtonix in #1275

@askoufis askoufis added enhancement New feature or request good first issue Good for newcomers help wanted Send a PR labels Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Send a PR
Projects
None yet
Development

No branches or pull requests

2 participants