Hide pagination - #871
Merged
Merged
Conversation
Lauren Hirata Singh (lnhsingh)
requested a review
from Kathryn May (katmayb)
as a code owner
October 14, 2025 01:57
Comment on lines
+431
to
+433
| #pagination { | ||
| display: none; | ||
| } |
There was a problem hiding this comment.
The CSS selector #pagination is very generic and could potentially hide unintended elements. Consider using a more specific selector like .mintlify-pagination or [data-pagination] to target only the intended pagination component.
Suggested change
| #pagination { | |
| display: none; | |
| } | |
| .mintlify-pagination { | |
| display: none; | |
| } |
Comment on lines
+430
to
+433
| /* Hide pagination */ | ||
| #pagination { | ||
| display: none; | ||
| } |
There was a problem hiding this comment.
Hiding pagination with display: none removes it from screen readers entirely. If this is intentional for all users, consider if the pagination should be removed from the HTML instead. If it should remain accessible to screen readers, use visibility: hidden or visually hide it while keeping it accessible.
Suggested change
| /* 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; | |
| } |
Contributor
|
Preview ID generated: preview-disabl-1760407104-a8adaad |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Type of change
Type: [Replace with: New documentation page / Update existing documentation / Fix typo/bug/link/formatting / Remove outdated content / Other]
Related issues/PRs
Checklist
docs devsrc/docs.jsonif neededAdditional notes