theme reorx: break-inside allowed for .work-section
due to its nature of having a lot of content
This commit is contained in:
parent
4a8b53aff7
commit
45442f1689
|
|
@ -33,8 +33,12 @@ body {
|
|||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
|
||||
.section-title,
|
||||
h3 {
|
||||
li, p {
|
||||
break-inside: avoid;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
break-after: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@ $lh-p: 1.4;
|
|||
font-family: system-ui, sans-serif;
|
||||
|
||||
footer {
|
||||
break-inside: avoid;
|
||||
page-break-inside: avoid;
|
||||
margin-top: 3em;
|
||||
border-top: 1px solid $color-border-dimmer;
|
||||
padding: 4px 0 8px;
|
||||
|
|
@ -152,6 +154,13 @@ section {
|
|||
}
|
||||
}
|
||||
|
||||
.work-section {
|
||||
.section-item {
|
||||
break-inside: auto;
|
||||
page-break-inside: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.sideprojects-section {
|
||||
.description p:last-of-type {
|
||||
margin-bottom: 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue