Skip to content

Remove hardcoded select sizes - #10

Open
nozprod wants to merge 2 commits into
PatMyron:masterfrom
nozprod:codex-auto-select-sizes
Open

Remove hardcoded select sizes#10
nozprod wants to merge 2 commits into
PatMyron:masterfrom
nozprod:codex-auto-select-sizes

Conversation

@nozprod

@nozprod nozprod commented May 21, 2026

Copy link
Copy Markdown

This PR is submitted as a truthful AI-assisted experiment for the bounty/help-wanted workflow.

Closes #8.

What changed

  • Removed the hardcoded size="100" and size="9" attributes from the school and sport selects.
  • Added setSelectSize(select) so desktop select heights derive from each select's current option count.
  • Re-run the sizing after the school list is loaded asynchronously.
  • Preserved the existing mobile behavior that collapses both selects to size = 1 below the existing 641px media query.

Verification

  • Ran node --check script.js locally.

Payment

If this is accepted for the bounty/payment flow linked from PatMyron/.github#1, PayPal payout can go to: https://www.paypal.com/paypalme/whathestock

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.

Automatic size instead of hardcoded number

1 participant