Repository navigation
fix: reduce rank number font size for double digits - #47
Conversation
Summary by BeetleThis PR addresses a UI/UX issue in the rank card visualization by implementing responsive font sizing for rank numbers. When rank numbers exceed three digits (i.e., rank >= 1000), the fixed 120px font size causes the text to overflow or appear cramped. The fix dynamically adjusts the font size based on the rank number's string length, reducing it to 72px for double-digit or longer rank numbers while maintaining the original 96px size for smaller ranks. 📁 File Changes Summary (Consolidated across all commits):
Total Changes: 1 file changed, +4 additions, -2 deletions 🎯 Key Changes:
📊 Impact Assessment:
⚙️ SettingsSeverity Threshold: 📖 User Guide
|
|
✅ You're good to merge this PR! No issues found. Great job! Settings⚙️ SettingsSeverity Threshold: 📖 User Guide
|
|
Note Linting checks passed successfully 🎉 All formatting and code quality checks are clean. You're good to merge 🚀 |
|
:3 |
|
Thx for contributing! |

Reduces the rank number font size from 120px to 72px when the rank has 4+ digits (e.g., #1000) to prevent overflow.