Skip to content

fix(ui): keep matching play again button colors consistent on hover#23

Merged
djoseph-apphelix merged 3 commits intomainfrom
fix/TNL2-488
Jan 8, 2026
Merged

fix(ui): keep matching play again button colors consistent on hover#23
djoseph-apphelix merged 3 commits intomainfrom
fix/TNL2-488

Conversation

@djoseph-apphelix
Copy link
Copy Markdown
Member

Description

  • The “Play Again” button in the Matching game was changing to an unintended light grey background with white text on hover. This behavior conflicted with the intended design.

  • This PR ensures the button maintains its original black background and white text when hovered (as long as it’s not disabled), aligning hover behavior with the default button state.

Before
image (8)

After
image (9)

Jira

Testing

  • Manually verified hover behavior on the “Play Again” button
  • Confirmed disabled state remains unaffected

Copilot AI review requested due to automatic review settings January 8, 2026 08:10
Copy link
Copy Markdown
Contributor

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

This PR fixes the hover behavior of the "Play Again" button in the Matching game. Previously, the button was changing to an unintended light grey background on hover; now it maintains its black background and white text consistently.

  • Adds a hover state CSS rule for the matching-end-button to maintain the intended dark background color
  • Ensures hover behavior aligns with the default button state using the :not(:disabled) selector

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

djoseph-apphelix and others added 2 commits January 8, 2026 13:46
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 8, 2026 08:53
Copy link
Copy Markdown
Contributor

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


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

@djoseph-apphelix djoseph-apphelix merged commit bc165fd into main Jan 8, 2026
10 checks passed
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.

3 participants