fix: course banner overlays the table of contents (#9097)

* fix: prevent sticky elements from overlapping with course announcement

- Changed sticky positioning from top-0 to top-[36px] in GuideContent.tsx
- Changed sticky positioning from top-0 to top-[36px] in TableOfContent.tsx
- This accounts for the maximum height of the CourseAnnouncement component
- Fixes visual overlap for both 'Other Guides' and 'In this article' sections

* fix: stop "In this article" title from overlapping with CourseAnnouncement component

* Add comment for announcement hide duration

Added a clarifying comment indicating that the announcement is hidden for 14 days when dismissed.

* revert unrelated files
This commit is contained in:
Favor
2025-09-04 10:29:20 +01:00
committed by GitHub
parent 2fdb647413
commit 3c06b122e6
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
/// <reference types="astro/client" />
/// <reference path="content.d.ts" />
/// <reference path="content.d.ts" />