Skip to content

Preserve badge contrast on hover#10

Merged
jason301c merged 2 commits into
monashcoding:mainfrom
ryanhiizy:fix-unit-tree-badge-hover-contrast
Jun 4, 2026
Merged

Preserve badge contrast on hover#10
jason301c merged 2 commits into
monashcoding:mainfrom
ryanhiizy:fix-unit-tree-badge-hover-contrast

Conversation

@ryanhiizy
Copy link
Copy Markdown
Contributor

Summary

  • Keeps the area of study badge label colour stable when the select item is hovered.
  • Prevents the badge label from turning white on a light badge background.

Testing

  • Ran pnpm --filter webapp typecheck.
  • Ran pnpm --filter webapp build.

Screenshots

Before:
image

After:
image

ryanhiizy and others added 2 commits June 2, 2026 06:53
# Conflicts:
#	packages/webapp/components/tree/controls/course-block.tsx
@jason301c
Copy link
Copy Markdown
Collaborator

Looks good to me :)

@jason301c jason301c merged commit deba2ba into monashcoding:main Jun 4, 2026
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