mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 20:01:33 +02:00
fix: highlight position issue on ios for navbar and footer
This commit is contained in:
parent
43295bc7b9
commit
110fad06ab
3 changed files with 11 additions and 2 deletions
|
@ -22,7 +22,7 @@ const links = socialLinks.map((link) => {
|
|||
return link
|
||||
})
|
||||
|
||||
const footerLinkClass = 'highlight-hover transition-colors after:bottom-0 hover:c-primary'
|
||||
const footerLinkClass = 'highlight-hover footer-highlight-position-fix transition-colors after:bottom-0 hover:c-primary'
|
||||
---
|
||||
|
||||
<footer
|
||||
|
|
|
@ -47,7 +47,7 @@ const navItems = [
|
|||
<li>
|
||||
<a
|
||||
href={getLocalizedPath(item.href)}
|
||||
class={item.className}
|
||||
class={`${item.className} navbar-highlight-position-fix`}
|
||||
>
|
||||
{item.label}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue