mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 03:32:51 +02:00
fix: title and content start position on mobile post pages
This commit is contained in:
parent
82a2031342
commit
ca45fed0aa
3 changed files with 9 additions and 7 deletions
|
@ -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={[
|
||||
|
|
|
@ -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
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue