Skip to content

fix(miners): align issue search on mobile#1253

Open
victortran0904 wants to merge 1 commit into
entrius:testfrom
victortran0904:codex/mobile-repo-search-alignment
Open

fix(miners): align issue search on mobile#1253
victortran0904 wants to merge 1 commit into
entrius:testfrom
victortran0904:codex/mobile-repo-search-alignment

Conversation

@victortran0904
Copy link
Copy Markdown

Summary

  • align the miner Issue Discovery search field with the table/card edges on xs viewports
  • keep the existing tablet and desktop sizing unchanged

Addresses #867 on the current test branch. The original issue refers to the old Repositories tab/search label; that surface has since been refactored into the current Issue Discovery/Open Issues layout.

Verification

  • npm run lint
  • npm run build
  • git diff --check
  • visual check at 375px: /tmp/gittensor-867-after-375.png

Note: build passes with the existing Vite large chunk warning.

Copilot AI review requested due to automatic review settings May 20, 2026 17:36
@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 20, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the miner Issue Discovery “Open Issues” header search field styling so that, on extra-small (mobile) viewports, the search input aligns with the table/card edges while preserving existing sizing behavior on tablet/desktop.

Changes:

  • Adjusted mobile (xs) horizontal spacing for the search TextField using negative margins.
  • Expanded mobile (xs) width/maxWidth via calc() to visually align with the container edges without affecting sm+ sizing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +498 to +500
mx: { xs: -2, sm: 0 },
width: { xs: 'calc(100% + 32px)', sm: 'auto' },
maxWidth: { xs: 'calc(100% + 32px)', sm: 400 },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants