From 7b337e6a7d618a01a13363d7ba9fdfe811c83be4 Mon Sep 17 00:00:00 2001 From: jasongao97 Date: Thu, 22 Feb 2024 10:55:26 +0800 Subject: [PATCH] avoid break inside codesplit pairs --- magicbook/stylesheets/components/codesplit.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/magicbook/stylesheets/components/codesplit.scss b/magicbook/stylesheets/components/codesplit.scss index fa3673ba..425db2fb 100644 --- a/magicbook/stylesheets/components/codesplit.scss +++ b/magicbook/stylesheets/components/codesplit.scss @@ -52,6 +52,7 @@ display: flex; flex-wrap: wrap-reverse; justify-content: space-between; + break-inside: avoid; padding: 0 5mm; &:first-child {