From db899aafdeced66d49eb3b35a0c53ff500dbf819 Mon Sep 17 00:00:00 2001 From: AaronBenDaniel <144371000+AaronBenDaniel@users.noreply.github.com> Date: Tue, 10 Jun 2025 09:55:09 -0400 Subject: [PATCH] fix(api): Justify PDF ToC page numbers to the right side of the page --- src/api/src/create_book/generators/pdf/stylesheet.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/src/create_book/generators/pdf/stylesheet.css b/src/api/src/create_book/generators/pdf/stylesheet.css index 14149a6..f2ca7ac 100644 --- a/src/api/src/create_book/generators/pdf/stylesheet.css +++ b/src/api/src/create_book/generators/pdf/stylesheet.css @@ -205,6 +205,8 @@ section { #contents a { color: inherit; text-decoration: none; + display: flex; + justify-content: space-between; } #contents a::before { content: target-counter(attr(href), h2-counter) '. ' target-text(attr(href));