Alves: print - fonts should be passed as different values

This commit is contained in:
Andrés 2019-10-15 18:22:44 +02:00
parent b6a20546d4
commit f117b24006
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
/* Fonts */
body {
font: 13pt Georgia, "Times New Roman", Times, serif;
font: 13pt var(--font-base, 'Georgia, "Times New Roman", Times, serif');
font: 13pt var(--font-base, Georgia, "Times New Roman", Times, serif);
line-height: 1.3;
background: #fff !important;
color: #000;

View file

@ -34,8 +34,8 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
/* Fonts */
body {
font: 13pt Georgia, "Times New Roman", Times, serif;
font: 13pt var( --font-base, 'Georgia, "Times New Roman", Times, serif' );
font: 13pt Georgia, "Times New Roman", Times, serif; // For browsers without CSS custom properties support.
font: 13pt var( --font-base, Georgia, "Times New Roman", Times, serif );
line-height: 1.3;
background: #fff !important;
color: #000;