Skip to content

Conversation

@3w36zj6
Copy link
Member

@3w36zj6 3w36zj6 commented Jun 13, 2025

cf. #192

ヘッダーの縦幅に合わせてサイドナビゲーションの位置を調整しました。

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 updates the sticky offset and height of the side navigation and table of contents to match the revised header height of 80px.

  • Changed the CSS top value from 60px to 80px
  • Updated the height calculation (100vh - headerHeight - 1rem) accordingly

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
website/src/components/ui/common/TableOfContents.tsx Adjusted top offset and height calc to use the new 80px header height
website/src/components/ui/common/SideNavigation.tsx Applied the same header-height adjustment to the side navigation

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.

LGTM!

@3w36zj6 3w36zj6 merged commit 47c90f5 into main Jun 13, 2025
5 checks passed
@3w36zj6 3w36zj6 deleted the feature/fix-sidebar-positioning branch June 13, 2025 23:28
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