From 7dfba9f513501b2e1443cc43eced2fd30571c804 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 31 Jan 2025 20:32:12 +0200 Subject: [PATCH] feat(print): respect page breaks --- src/public/stylesheets/style.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index fd4b1bf0b..df2c0b8f9 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -1655,4 +1655,14 @@ body.electron.platform-darwin:not(.native-titlebar) .tab-row-container { contain: none !important; } + /* Respect page breaks */ + .page-break { + page-break-after: always; + break-after: always; + } + + .page-break > * { + display: none !important; + } + } \ No newline at end of file