fix: use overflow: clip to not disrupt sticky ToC (#8158)

Signed-off-by: The-Best-Codes <106822363+The-Best-Codes@users.noreply.github.com>
This commit is contained in:
BestCodes
2026-03-29 01:31:17 -05:00
committed by GitHub
parent 6b20f2c4e9
commit 5825821591
+3 -3
View File
@@ -244,7 +244,7 @@ html {
.hero--logo {
display: 'flex';
justify-content: 'center';
margin-bottom: '1rem'
margin-bottom: '1rem'
}
.pill-button {
@@ -450,7 +450,7 @@ html, body {
/* Ensure all containers respect viewport width */
.container {
max-width: 100%;
overflow-x: hidden;
overflow-x: clip;
}
/* Prevent navbar from causing horizontal overflow */
@@ -461,7 +461,7 @@ html, body {
/* Ensure main content doesn't overflow */
main {
max-width: 100%;
overflow-x: hidden;
overflow-x: clip;
}
/* Custom scrollbar for filter sections */