diff --git a/src/pages/book.rs b/src/pages/book.rs index 044b243..1ed0a30 100644 --- a/src/pages/book.rs +++ b/src/pages/book.rs @@ -46,7 +46,7 @@ fn BookBody(section: String, #[prop(!optional)] doc: Option) -> View { ServerTitle(title=title) div(class="flex flex-row gap-4 w-full justify-center") { BookSidebar {} - div(class="grow-0 min-w-0 px-2 pt-0 pb-10 sm:pt-5 prose prose-gray md:w-[75ch]") { + div(class="grow-0 min-w-0 px-2 pt-5 pb-10 prose prose-gray md:w-[75ch]") { mdsycx::MDSycX(body=parsed.body) } HeadingsOutline(headings=parsed.headings) diff --git a/src/pages/post.rs b/src/pages/post.rs index dba2c3b..c7c6960 100644 --- a/src/pages/post.rs +++ b/src/pages/post.rs @@ -30,7 +30,7 @@ pub fn PostBody(id: String) -> View { view! { ServerTitle(title=parsed.front_matter.title.clone()) - div(class="mx-auto px-2 pt-0 pb-10 sm:pt-5 prose prose-gray") { + div(class="mx-auto px-2 pt-5 pb-10 prose prose-gray") { span(class="text-sm") { (parsed.front_matter.date.to_string()) } mdsycx::MDSycX(body=parsed.body) }