Align PDF sidebar chip and chrome with Typst layout.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -174,13 +174,15 @@ function Meta(meta)
|
||||
</div>
|
||||
]], logo_html, company, subtitle_html, title)
|
||||
|
||||
-- Rotated sidebar labels; page chip comes from print.css @page @bottom-left.
|
||||
-- Rotated sidebar labels (title then destinations, matching typst grid columns).
|
||||
-- .chip-gap extends the rule to the @bottom-left page chip (persian ۱/N).
|
||||
local sidebar = string.format([[
|
||||
<div class="print-sidebar print-only" aria-hidden="true">
|
||||
<div class="seg">%s</div>
|
||||
<div class="seg">%s</div>
|
||||
<div class="chip-gap" aria-hidden="true"></div>
|
||||
</div>
|
||||
]], destinations, title)
|
||||
]], title, destinations)
|
||||
|
||||
local running = string.format([[
|
||||
<div class="print-running-header print-only" aria-hidden="true">
|
||||
|
||||
Reference in New Issue
Block a user