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:
@@ -244,7 +244,7 @@ html {
|
|||||||
.hero--logo {
|
.hero--logo {
|
||||||
display: 'flex';
|
display: 'flex';
|
||||||
justify-content: 'center';
|
justify-content: 'center';
|
||||||
margin-bottom: '1rem'
|
margin-bottom: '1rem'
|
||||||
}
|
}
|
||||||
|
|
||||||
.pill-button {
|
.pill-button {
|
||||||
@@ -450,7 +450,7 @@ html, body {
|
|||||||
/* Ensure all containers respect viewport width */
|
/* Ensure all containers respect viewport width */
|
||||||
.container {
|
.container {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow-x: hidden;
|
overflow-x: clip;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prevent navbar from causing horizontal overflow */
|
/* Prevent navbar from causing horizontal overflow */
|
||||||
@@ -461,7 +461,7 @@ html, body {
|
|||||||
/* Ensure main content doesn't overflow */
|
/* Ensure main content doesn't overflow */
|
||||||
main {
|
main {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow-x: hidden;
|
overflow-x: clip;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Custom scrollbar for filter sections */
|
/* Custom scrollbar for filter sections */
|
||||||
|
|||||||
Reference in New Issue
Block a user