Preserve QWord page breaks in DOCX
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user