From a1ab27b57ff4c501a0934603336bc8c1778649c2 Mon Sep 17 00:00:00 2001 From: David Bolack Date: Wed, 30 Jul 2025 19:47:59 -0500 Subject: [PATCH 1/3] Applies G-Ambatte's fix --- themes/V3/Blank/style.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/V3/Blank/style.less b/themes/V3/Blank/style.less index 42a392454..dec547854 100644 --- a/themes/V3/Blank/style.less +++ b/themes/V3/Blank/style.less @@ -145,8 +145,8 @@ body { counter-reset : page-numbers 0; } blockquote,table { z-index : 15; -webkit-column-break-inside : avoid; - page-break-inside : avoid; - break-inside : avoid; + page-break-inside : auto; + break-inside : auto; } // Nested lists ul ul,ol ol,ul ol,ol ul { From 8f715a6615fe536e0a34581761ce4557d2e00718 Mon Sep 17 00:00:00 2001 From: David Bolack Date: Sun, 5 Oct 2025 18:36:14 -0500 Subject: [PATCH 2/3] Isolate change to Firefox --- themes/V3/Blank/style.less | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/themes/V3/Blank/style.less b/themes/V3/Blank/style.less index dec547854..c251e323b 100644 --- a/themes/V3/Blank/style.less +++ b/themes/V3/Blank/style.less @@ -145,8 +145,8 @@ body { counter-reset : page-numbers 0; } blockquote,table { z-index : 15; -webkit-column-break-inside : avoid; - page-break-inside : auto; - break-inside : auto; + page-break-inside : avoid; + break-inside : avoid; } // Nested lists ul ul,ol ol,ul ol,ol ul { @@ -611,3 +611,17 @@ h6, } .toc.wide li { break-inside : auto; } } + + +/********************************** +Firefox endruns +**********************************/ + +@supports (-moz-user-select: none) { // This section will only apply to Firefox; it's the only browser that supports `-mos-xyz...` + .page { + .blockquote, .table { + page-break-inside: auto; + break-inside: auto; + } + } +} \ No newline at end of file From 1e71e9e18af53c0db5810baf5cba6e2e36c3e815 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Sun, 5 Oct 2025 22:19:43 -0400 Subject: [PATCH 3/3] Use blockquote and table elements, not .classes --- themes/V3/Blank/style.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/V3/Blank/style.less b/themes/V3/Blank/style.less index c251e323b..9d41181e9 100644 --- a/themes/V3/Blank/style.less +++ b/themes/V3/Blank/style.less @@ -619,7 +619,7 @@ Firefox endruns @supports (-moz-user-select: none) { // This section will only apply to Firefox; it's the only browser that supports `-mos-xyz...` .page { - .blockquote, .table { + blockquote, table { page-break-inside: auto; break-inside: auto; }