diff --git a/app/pages/portfolio/[slug].vue b/app/pages/portfolio/[slug].vue
index 37685d0..d490588 100644
--- a/app/pages/portfolio/[slug].vue
+++ b/app/pages/portfolio/[slug].vue
@@ -56,6 +56,13 @@ async function handleLike() {
await refresh()
likeCookie.value = true
}
+
+function scrollToSection(id: string) {
+ const element = document.getElementById(id)
+ if (element) {
+ element.scrollIntoView({ behavior: 'smooth' })
+ }
+}
@@ -134,24 +141,12 @@ async function handleLike() {
-
-
-
@@ -236,9 +231,17 @@ async function handleLike() {
@apply no-underline;
}
+.prose img {
+ margin: 0;
+}
+
.katex-html {
display: none;
}
+
+html {
+ scroll-behavior: smooth;
+}