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

A4 size in the @media print CSS #25

Closed
mudrd8mz opened this issue Jul 3, 2020 · 3 comments
Closed

A4 size in the @media print CSS #25

mudrd8mz opened this issue Jul 3, 2020 · 3 comments

Comments

@mudrd8mz
Copy link

mudrd8mz commented Jul 3, 2020

I haven't actually tried and tested myself. But I have a suspicion that the current CSS

@media print {
    /* Set the page to A4 size to prevent border lost. */
    body:not(.gecko) {
        height: 297mm;
        width: 210mm;
    }

will effectively affect all places in Moodle. I assume it is not a problem, just thinking about countries (such as US or Canada) that commonly use different paper sizes?

@timhunt
Copy link
Member

timhunt commented Jul 3, 2020

Good catch!

@timhunt
Copy link
Member

timhunt commented Jul 3, 2020

OU internal defect number: 403999

@timhunt
Copy link
Member

timhunt commented Dec 15, 2020

The fix for this version is now pushed.

@timhunt timhunt closed this as completed Dec 15, 2020
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