-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Hide pagination #871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide pagination #871
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -427,3 +427,7 @@ h6 span img { | |||||||||||||||||||||||||||||||||
| display: inline-block !important; /* Ensure images behave as inline-block */ | ||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| /* Hide pagination */ | ||||||||||||||||||||||||||||||||||
| #pagination { | ||||||||||||||||||||||||||||||||||
| display: none; | ||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||
|
Comment on lines
+430
to
+433
|
||||||||||||||||||||||||||||||||||
| /* Hide pagination */ | |
| #pagination { | |
| display: none; | |
| } | |
| /* Visually hide pagination but keep it accessible to screen readers */ | |
| #pagination { | |
| position: absolute !important; | |
| width: 1px !important; | |
| height: 1px !important; | |
| padding: 0 !important; | |
| margin: -1px !important; | |
| overflow: hidden !important; | |
| clip: rect(0, 0, 0, 0) !important; | |
| white-space: nowrap !important; | |
| border: 0 !important; | |
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CSS selector
#paginationis very generic and could potentially hide unintended elements. Consider using a more specific selector like.mintlify-paginationor[data-pagination]to target only the intended pagination component.