Skip to content

Conversation

@3w36zj6
Copy link
Member

@3w36zj6 3w36zj6 commented Jun 13, 2025

目次のリンクから見出しへ移動する際に、ヘッダーに被らない適切な位置にスクロールするよう修正しました。

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adjusts the scroll position for in-page links so that headings don’t get hidden behind the header.

  • Adds a scroll padding utility class to the root <html> element.
Comments suppressed due to low confidence (1)

website/src/components/templates/BaseTemplate.tsx:44

  • In JSX/TSX, use className instead of class to apply CSS classes. Change to <html lang=\"ja\" className=\"scroll-pt-24\">.
<html lang="ja" class="scroll-pt-24">

Copy link
Member

@kimushun1101 kimushun1101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

これは気づいていませんでしたが、改善されるとかなり便利になりますね。ご対応ありがとうございました。

@3w36zj6 3w36zj6 merged commit 34e5f83 into main Jun 13, 2025
5 checks passed
@3w36zj6 3w36zj6 deleted the feature/fix-toc-scroll-positioning branch June 13, 2025 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants