update: back button size and position

This commit is contained in:
radishzzz 2025-03-05 21:11:27 +00:00
parent 89aff61656
commit 6259f31b50
3 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ const marginBottom = {
}[titleSpace] || 'mb-2.875' }[titleSpace] || 'mb-2.875'
--- ---
<header class="mb-10.625 lg:hidden"> <header class="mb-12.25 lg:hidden">
<h3 class={`${marginBottom} mt-2.9375 text-5.375 c-secondary font-bold font-title`}> <h3 class={`${marginBottom} mt-2.9375 text-5.375 c-secondary font-bold font-title`}>
<!-- Fix text cut issue on ios by adding a div tag --> <!-- Fix text cut issue on ios by adding a div tag -->
<div <div

View file

@ -25,7 +25,7 @@ const { Content, remarkPluginFrontmatter } = await post.render()
postDescription={post.data.description} postDescription={post.data.description}
postImage={post.data.image} postImage={post.data.image}
> >
<article class="heti -mt-6"> <article class="heti">
<BackButton /> <BackButton />
<h1 class="post-title"> <h1 class="post-title">
<span <span
@ -37,7 +37,7 @@ const { Content, remarkPluginFrontmatter } = await post.render()
</h1> </h1>
<div <div
class="mb-15 block c-primary font-time" class="mb-11.75 block c-primary font-time"
transition:name={`time-${post.data.slug || post.slug}`} transition:name={`time-${post.data.slug || post.slug}`}
data-disable-transition-on-theme data-disable-transition-on-theme
> >
@ -51,7 +51,7 @@ const { Content, remarkPluginFrontmatter } = await post.render()
<Content /> <Content />
{post.data.tags && post.data.tags.length > 0 && ( {post.data.tags && post.data.tags.length > 0 && (
<div class="mt-10.625"> <div class="mt-9.75">
<div class="h-0.125 w-10 bg-secondary opacity-25"></div> <div class="h-0.125 w-10 bg-secondary opacity-25"></div>
<div class="mt-4.375 w-95% flex flex-wrap gap-x-3 gap-y-3.6"> <div class="mt-4.375 w-95% flex flex-wrap gap-x-3 gap-y-3.6">
{post.data.tags.map(tag => ( {post.data.tags.map(tag => (

View file

@ -115,7 +115,7 @@
font-weight:600 font-weight:600
} }
.heti .post-title { .heti .post-title {
--at-apply: 'mt-2.75 c-primary mb-2.375 font-bold text-9 leading-12'; --at-apply: 'mt-2 c-primary mb-2 font-bold text-9 leading-12';
line-height:48px line-height:48px
} }
.heti h1 { .heti h1 {