fix: fix bug with anchor

This commit is contained in:
jinhojang6 2024-05-16 20:00:42 +09:00
parent 1be12f914d
commit 06e8af3a46
No known key found for this signature in database
GPG Key ID: 1762F21FE8B543F8
2 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,7 @@ export const FooterLinksItems: {
links: [ links: [
{ label: 'Terms of Use', href: '/terms' }, { label: 'Terms of Use', href: '/terms' },
{ label: 'Privacy Policy', href: '/privacy-policy' }, { label: 'Privacy Policy', href: '/privacy-policy' },
{ label: 'Security', href: '/security' },
{ label: 'About', href: '/about' }, { label: 'About', href: '/about' },
], ],
}, },

View File

@ -76,6 +76,7 @@ export default function App({ Component, pageProps }: AppLayoutProps) {
} }
.anchor { .anchor {
position: relative;
margin-top: calc(-1 * var(--lpe-article-rendered-margin-top)); margin-top: calc(-1 * var(--lpe-article-rendered-margin-top));
padding-bottom: var(--lpe-article-rendered-margin-top); padding-bottom: var(--lpe-article-rendered-margin-top);
margin-bottom: -16px; margin-bottom: -16px;