fix(md-print): correct alert padding

This commit is contained in:
2026-10-23 20:19:39 +08:00
parent 8957e3d2f1
commit 2ba6ed74c7
+15
View File
@@ -248,6 +248,21 @@ icon.big .icon-label-stroke {
word-break: break-word;
}
/* Alerts: the rem-based padding is oversized next to the mm-based print font,
and the first paragraph's margin stacks on top of the padding. */
.md-print-content .markdown-alert {
padding: 0.5em 0.75em;
margin-bottom: 0.45em;
}
.md-print-content .markdown-alert-title + * {
margin-top: 0;
}
.md-print-content .markdown-alert > :last-child {
margin-bottom: 0;
}
.md-print-cut-line {
position: absolute;
left: 148.5mm;