Skip to content

Commit be559fe

Browse files
fix: css changes for ensuring content flows smoothly
1 parent b98c134 commit be559fe

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

src/components/BookViewer/BookViewer.scss

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
}
7373

7474
blockquote, pre, ul, ol, h1, h2, h3, h4, h5, h6 {
75-
break-inside: avoid;
76-
page-break-inside: avoid;
75+
break-inside: auto;
76+
page-break-inside: auto;
7777
}
7878

7979
p, blockquote, pre, ul, ol, h1, h2, h3, h4, h5, h6 {
@@ -86,13 +86,6 @@
8686
page-break-inside: auto;
8787
}
8888

89-
&.allow-breaks {
90-
blockquote, pre, ul, ol {
91-
break-inside: auto;
92-
page-break-inside: auto;
93-
}
94-
}
95-
9689
.piece-header {
9790
display: flex;
9891
justify-content: space-between;

0 commit comments

Comments
 (0)