Skip to content

Commit d5e7b33

Browse files
committed
fix(spacing): balance pagination-nav padding and add footer margin
Reduce excessive bottom padding on pagination-nav and distribute it more evenly between top and bottom. Add matching margin-bottom to doc footer for visual balance. Changes: - Change pagination-nav from 50vh bottom-only to 2rem top + 20vh bottom - Add 3rem margin-bottom to .theme-doc-footer (matching margin-top) This provides enough space for the last TOC item to activate while maintaining better visual balance and less excessive whitespace.
1 parent 5f41825 commit d5e7b33

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/css/custom.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,5 +534,11 @@ article {
534534

535535
/* Add padding to pagination nav to allow last TOC item to scroll into view */
536536
.pagination-nav {
537-
padding-bottom: 50vh;
537+
padding-top: 2rem;
538+
padding-bottom: 20vh;
539+
}
540+
541+
/* Add bottom margin to doc footer matching top margin */
542+
.theme-doc-footer {
543+
margin-bottom: 3rem;
538544
}

0 commit comments

Comments
 (0)