mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
fix: bottom and top text cut issue on ios
This commit is contained in:
parent
614b41ed87
commit
56751de737
2 changed files with 12 additions and 8 deletions
|
@ -16,13 +16,15 @@ const marginBottom = {
|
|||
|
||||
<header>
|
||||
<h1 class={`${marginBottom} text-12.8 c-primary font-bold font-title`}>
|
||||
<a
|
||||
href={getLocalizedPath('/')}
|
||||
<div
|
||||
class="inline-block"
|
||||
transition:name="site-title"
|
||||
data-disable-transition-on-theme
|
||||
>
|
||||
{title}
|
||||
</a>
|
||||
<a href={getLocalizedPath('/')}>
|
||||
{title}
|
||||
</a>
|
||||
</div>
|
||||
</h1>
|
||||
|
||||
{subtitle && (
|
||||
|
|
|
@ -8,11 +8,13 @@ const { getLocalizedPath } = getPagePath(currentPath)
|
|||
---
|
||||
|
||||
<header class="mt-4.7 text-8.6 c-secondary font-bold font-title lg:hidden">
|
||||
<a
|
||||
href={getLocalizedPath('/')}
|
||||
<div
|
||||
class="inline-block"
|
||||
transition:name="site-title"
|
||||
data-disable-transition-on-theme
|
||||
>
|
||||
{title}
|
||||
</a>
|
||||
<a href={getLocalizedPath('/')}>
|
||||
{title}
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue