Skip to content

fix(quiz): remove gray outline around question text - #42

Merged
jsolly merged 1 commit into
mainfrom
cursor/remove-question-border-c8f0
Jul 19, 2026
Merged

fix(quiz): remove gray outline around question text#42
jsolly merged 1 commit into
mainfrom
cursor/remove-question-border-c8f0

Conversation

@jsolly

@jsolly jsolly commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • The quiz question heading is programmatically focused when a new question loads (for a11y + scroll). That focus was drawing a focus-visible outline that looked like a gray border around the prompt.
  • Removed the outline styles and set outline-none so the question reads as plain text. Answer option borders and the dashed situation box are unchanged.

Test plan

  • Open a quiz session (Pick the Vehicle → Quiz me)
  • Confirm the question prompt has no gray border/outline on load
  • Confirm answer choices still have their borders
  • Smoke desktop and mobile widths; console clean

Verification

Desktop and mobile (390px) quiz screens confirmed: question text has no outline; situation dashed box and answer borders remain; console shows no issues.

Open in Web Open in Cursor 

The question heading was programmatically focused on each new item,
which painted a focus-visible outline that looked like a border.
Keep focus for a11y/scroll, but suppress the outline.

Co-authored-by: John Solly <jsolly@users.noreply.github.com>
@cursor
cursor Bot marked this pull request as ready for review July 18, 2026 23:02
@jsolly
jsolly merged commit 8e7c8c4 into main Jul 19, 2026
4 checks passed
@jsolly
jsolly deleted the cursor/remove-question-border-c8f0 branch July 19, 2026 00:12
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