summaryrefslogtreecommitdiff
path: root/src/stylesheets
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-11-28 01:51:44 -0700
committerGitHub <noreply@github.com>2023-11-28 01:51:44 -0700
commit5f3bb0a288a3a11578d8ec5ea13fd2ebd2314fc9 (patch)
tree0ee1f6d23faa662cb1c5d4f104dfba8005551c94 /src/stylesheets
parent45a8c31aea6607775fd6a52b75f8f8bfbf05b1e8 (diff)
resolves #3466 update stylesheet to use break-after in place of page-break-before/after/inside (PR #4495)
Diffstat (limited to 'src/stylesheets')
-rw-r--r--src/stylesheets/asciidoctor.css10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/stylesheets/asciidoctor.css b/src/stylesheets/asciidoctor.css
index 03de8566..04409b10 100644
--- a/src/stylesheets/asciidoctor.css
+++ b/src/stylesheets/asciidoctor.css
@@ -1790,7 +1790,7 @@ div.page-break {
}
div.unbreakable {
- page-break-inside: avoid;
+ break-inside: avoid;
}
.big {
@@ -2111,7 +2111,7 @@ p.tableblock {
img,
object,
svg {
- page-break-inside: avoid;
+ break-inside: avoid;
}
thead {
@@ -2131,7 +2131,7 @@ p.tableblock {
h3,
#toctitle,
.sidebarblock > .content > .title {
- page-break-after: avoid;
+ break-after: avoid;
}
body > div[id] {
@@ -2187,7 +2187,7 @@ p.tableblock {
body.book #preamble,
body.book h1.sect0,
body.book .sect1 > h2 {
- page-break-before: always;
+ break-before: page;
}
.listingblock code[data-lang]::before {
@@ -2196,7 +2196,7 @@ p.tableblock {
div.page-break {
display: block;
- page-break-after: always;
+ break-after: page;
}
#footer {