Handle page breaks for manual headers

main
Bob Mottram 2024-11-05 09:48:10 +00:00
parent 1b13231c15
commit f9538406d1
1 changed files with 5 additions and 0 deletions

View File

@ -1203,6 +1203,11 @@ h3 {
color: var(--verified-site-color)
}
h1, h2, h3, h4, h5, h6 {
break-after: avoid;
break-inside: avoid;
}
@media screen and (min-width: 400px) {
body, html {
background-color: var(--main-bg-color);