fix: title and content start position on mobile post pages

This commit is contained in:
radishzzz 2025-03-22 12:59:41 +00:00
parent 82a2031342
commit ca45fed0aa
3 changed files with 9 additions and 7 deletions

View file

@ -28,8 +28,10 @@ const SubtitleTag = isPost ? 'div' : 'h2'
---
<header
class="mb-10.5"
lg="uno-desktop-column top-20"
class:list={[
isPost ? 'mb-10.8' : 'mb-10.5',
'lg:(uno-desktop-column top-20)',
]}
>
<TitleTag
class:list={[

View file

@ -122,7 +122,7 @@ const { Content, remarkPluginFrontmatter } = await post.render()
<!-- Date -->
<div
class="mb-16.8 block c-primary font-time"
class="mb-16.3 block c-primary font-time"
transition:name={`time-${post.data.abbrlink || post.slug}-${lang}`}
data-disable-transition-on-theme
>