You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation
Fix overlay hints overlapping with the game grid area, making them
unreadable and interfering with gameplay.
## Proposal
- Increased z-index from 10 to 1000 for overlay boxes to ensure they
render above game cells
- Added smart text positioning that places labels above small overlay
boxes (< 100px width or < 40px height) instead of inside them
- Improved font size calculation for better responsiveness
## Test Plan
Tested it manually here is a before and after
Before:
<img width="729" height="893" alt="image"
src="https://github.com/user-attachments/assets/82496896-bd6b-4943-97b8-8db58fd626dd"
/>
After:
<img width="872" height="856" alt="image"
src="https://github.com/user-attachments/assets/5de85298-fbc8-49f2-ae50-752da4cd8218"
/>
0 commit comments