Skip to content

Commit

Permalink
Replace avoid-page with avoid for paged.js compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed Apr 1, 2024
1 parent d6a1f00 commit c1aad28
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions css/smpte.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ h2 {
margin-bottom: 0;
font-size: 1.5rem;
font-weight: bold;
break-after: avoid-page;
break-inside: avoid-page;
break-after: avoid;
break-inside: avoid;
}

h2 span.heading-label {
Expand All @@ -84,8 +84,8 @@ h3 {
margin-bottom: 0;
font-size: 1rem;
font-weight: bold;
break-after: avoid-page;
break-inside: avoid-page;
break-after: avoid;
break-inside: avoid;
}

h3 span.heading-label {
Expand All @@ -98,8 +98,8 @@ h4 {
margin-bottom: 0;
font-size: 1rem;
font-weight: bold;
break-after: avoid-page;
break-inside: avoid-page;
break-after: avoid;
break-inside: avoid;
}

h4 span.heading-label {
Expand All @@ -111,8 +111,8 @@ h5 {
margin-top: 1.5em;
margin-bottom: 0;
font-size: 1rem;
break-after: avoid-page;
break-inside: avoid-page;
break-after: avoid;
break-inside: avoid;
}

h5 span.heading-label {
Expand All @@ -124,8 +124,8 @@ h6 {
margin-top: 1.5em;
margin-bottom: 0;
font-size: 1rem;
break-after: avoid-page;
break-inside: avoid-page;
break-after: avoid;
break-inside: avoid;
}

h6 span.heading-label {
Expand Down Expand Up @@ -347,16 +347,16 @@ table > caption {
font-weight: bold;
font-size: 0.8rem;
text-align: center;
break-after: avoid-page;
break-inside: avoid-page;
break-after: avoid;
break-inside: avoid;
}

table, tr, thead, tbody, tfoot {
break-inside: avoid-page;
break-inside: avoid;
}

thead, thead tr {
break-after: avoid-page;
break-after: avoid;
}

/* images */
Expand All @@ -377,8 +377,8 @@ figcaption {
font-weight: bold;
font-size: 0.8rem;
text-align: center;
break-before: avoid-page;
break-inside: avoid-page;
break-before: avoid;
break-inside: avoid;
}

figure {
Expand Down

0 comments on commit c1aad28

Please sign in to comment.