Preserve QWord page breaks in DOCX

This commit is contained in:
Курнат Андрей
2026-06-01 19:35:11 +03:00
parent a2de721fc4
commit 6204d59418
6 changed files with 134 additions and 17 deletions
+25
View File
@@ -554,6 +554,31 @@ button {
margin: 14px 0;
}
.document-content [data-qoffice-page-break="true"] {
display: block;
position: relative;
height: 0;
margin: 28px 0;
border-top: 1px dashed #94a3b8;
break-after: page;
page-break-after: always;
}
.document-content [data-qoffice-page-break="true"]::after {
position: absolute;
top: -11px;
left: 50%;
padding: 2px 8px;
border: 1px solid #d5dde8;
border-radius: 999px;
background: #ffffff;
color: #64748b;
content: "Разрыв страницы";
font-size: 11px;
transform: translateX(-50%);
white-space: nowrap;
}
.document-content table {
width: 100%;
margin-top: 14px;