From 66f6a27fea59be4090f851164b6c189380c87807 Mon Sep 17 00:00:00 2001 From: Jason Gao Date: Tue, 27 Feb 2024 10:52:12 +0800 Subject: [PATCH] add class to allow break in codesplit pairs --- magicbook/stylesheets/components/codesplit.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/magicbook/stylesheets/components/codesplit.scss b/magicbook/stylesheets/components/codesplit.scss index 5e7f3909..84b57d76 100644 --- a/magicbook/stylesheets/components/codesplit.scss +++ b/magicbook/stylesheets/components/codesplit.scss @@ -91,6 +91,10 @@ &.bottom-align { align-items: flex-start; } + + &.allow-break { + break-inside: auto; + } } .comment {