Skip to content

Commit a7539ba

Browse files
committed
Merge branch 'develop'
2 parents 17d51e5 + 73d6273 commit a7539ba

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

WebSite/assets/css/blog.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@
291291
margin-bottom: 1.5rem;
292292
line-height: 1.4;
293293
position: relative;
294+
scroll-margin-top: 5rem;
294295
}
295296

296297
.markdown-body h2 {

WebSite/assets/js/toc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ document.addEventListener("DOMContentLoaded", () => {
5757
},
5858
{
5959
// ビューポートの上部20%から下部80%の範囲で見出しを監視
60-
rootMargin: "-20% 0px -80% 0px",
60+
rootMargin: "-60px 0px 0px 0px",
6161
threshold: 0,
6262
},
6363
);

0 commit comments

Comments
 (0)