mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 12:01:33 +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>
|
<header>
|
||||||
<h1 class={`${marginBottom} text-12.8 c-primary font-bold font-title`}>
|
<h1 class={`${marginBottom} text-12.8 c-primary font-bold font-title`}>
|
||||||
<a
|
<div
|
||||||
href={getLocalizedPath('/')}
|
class="inline-block"
|
||||||
transition:name="site-title"
|
transition:name="site-title"
|
||||||
data-disable-transition-on-theme
|
data-disable-transition-on-theme
|
||||||
>
|
>
|
||||||
{title}
|
<a href={getLocalizedPath('/')}>
|
||||||
</a>
|
{title}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{subtitle && (
|
{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">
|
<header class="mt-4.7 text-8.6 c-secondary font-bold font-title lg:hidden">
|
||||||
<a
|
<div
|
||||||
href={getLocalizedPath('/')}
|
class="inline-block"
|
||||||
transition:name="site-title"
|
transition:name="site-title"
|
||||||
data-disable-transition-on-theme
|
data-disable-transition-on-theme
|
||||||
>
|
>
|
||||||
{title}
|
<a href={getLocalizedPath('/')}>
|
||||||
</a>
|
{title}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue