Skip to content

Hide pagination - #871

Merged
Lauren Hirata Singh (lnhsingh) merged 1 commit into
mainfrom
disable-next
Oct 14, 2025
Merged

Hide pagination#871
Lauren Hirata Singh (lnhsingh) merged 1 commit into
mainfrom
disable-next

Conversation

@lnhsingh

Copy link
Copy Markdown
Collaborator

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

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed
  • I have gotten approval from the relevant reviewers
  • (Internal team members only / optional) I have created a preview deployment using the Create Preview Branch workflow

Additional notes

Copilot AI review requested due to automatic review settings October 14, 2025 01:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR hides pagination elements from the documentation site by adding CSS rules that set the display property to none for elements with the ID "pagination".

  • Adds CSS styling to hide pagination functionality

Comment thread src/style.css
Comment on lines +431 to +433
#pagination {
display: none;
}

Copilot AI Oct 14, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;
}

Copilot uses AI. Check for mistakes.
Comment thread src/style.css
Comment on lines +430 to +433
/* Hide pagination */
#pagination {
display: none;
}

Copilot AI Oct 14, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;
}

Copilot uses AI. Check for mistakes.
@github-actions

Copy link
Copy Markdown
Contributor

Preview ID generated: preview-disabl-1760407104-a8adaad

@lnhsingh
Lauren Hirata Singh (lnhsingh) merged commit 706c80f into main Oct 14, 2025
11 checks passed
@lnhsingh
Lauren Hirata Singh (lnhsingh) deleted the disable-next branch October 14, 2025 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants