Rust library to generate static websites
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(docs): broken padding on toc

+1 -1
+1 -1
website/src/layout/docs_sidebars.rs
··· 111 111 } 112 112 html_headings.push(html! { 113 113 li.(border).(margin_top) { 114 - a class=(format!("block py-1 px-3 sm:px-0 sm:py-0 text-lg sm:text-base transition-colors hover:bg-gray-50 sm:hover:bg-transparent hover:text-brand-red border-b border-borders sm:border-b-0 {}", pad)) href=(format!("#{}", heading.id)) { 114 + a class=(format!("block py-1 px-3 sm:py-0 text-lg sm:text-base transition-colors hover:bg-gray-50 sm:hover:bg-transparent hover:text-brand-red border-b border-borders sm:border-b-0 {}", pad)) href=(format!("#{}", heading.id)) { 115 115 (heading.title) 116 116 } 117 117 }