Visualize split

This commit is contained in:
shamoon 2025-07-01 14:11:47 -07:00
parent 52a3884fc4
commit dd1cd5524a
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View File

@ -47,6 +47,9 @@
<div class="pdf-viewer-container w-100" [class.selected]="p.selected"> <div class="pdf-viewer-container w-100" [class.selected]="p.selected">
<pdf-viewer [src]="pdfSrc" [page]="p.page" [rotation]="p.rotate" [original-size]="false" [show-all]="false" [render-text]="false"></pdf-viewer> <pdf-viewer [src]="pdfSrc" [page]="p.page" [rotation]="p.rotate" [original-size]="false" [show-all]="false" [render-text]="false"></pdf-viewer>
</div> </div>
@if (p.splitAfter) {
<div class="split-after rounded position-absolute top-0 end-0 bg-dark text-uppercase text-center h-100 px-1 small fw-bold">&mdash; <span i18n>Split here</span> &mdash;</div>
}
</div> </div>
} }
</div> </div>

View File

@ -60,3 +60,7 @@
.z-10 { .z-10 {
z-index: 10; z-index: 10;
} }
.split-after {
writing-mode: vertical-rl;
}