Skip to content

Commit 4a70d96

Browse files
authored
[Docs] Right-align documentation footer (#19868)
This PR right-aligns the custom documentation footer added with the sphinx-book-theme migration.
1 parent 564cd88 commit 4a70d96

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,8 @@ def footer_html() -> str:
411411
)
412412

413413
return f"""
414-
<div class="footer-container" style="margin: 5px 0; font-size: 0.9em; color: #6c757d;">
415-
<div class="footer-line1" style="display: flex; justify-content: center; align-items: center; gap: 0.9em; margin-bottom: 3px;">
414+
<div class="footer-container" style="margin: 5px 0; font-size: 0.9em; color: #6c757d; text-align: right;">
415+
<div class="footer-line1" style="display: flex; justify-content: flex-end; align-items: center; gap: 0.9em; margin-bottom: 3px; flex-wrap: wrap;">
416416
<span class="footer-links">{nav_links}</span>
417417
<div class="footer-dropdown">
418418
<div class="dropdown">
@@ -425,7 +425,7 @@ def footer_html() -> str:
425425
</div>
426426
</div>
427427
</div>
428-
<div class="footer-line2" style="font-size: 0.9em; color: #6c757d; text-align: center;">
428+
<div class="footer-line2" style="font-size: 0.9em; color: #6c757d; text-align: right;">
429429
{footer_note}
430430
</div>
431431
</div>

0 commit comments

Comments
 (0)