-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate 16px flag #2836
Comments
Yep sounds reasonable |
I marked this as a "good first issue" because it's relatively low stakes (worst case - display issues for some flag icons). To anyone who wants to take this on - I'm happy to answer any questions about the codebase! |
Hey! I'm interested in helping but I'm pretty new to this. Do you think this is a reasonably small workload? If you could help me through this I'd be really grateful |
Very cool!
I would classify this as a medium-sized project, but shouldn't be too bad if you're already familiar with React and CSS (we're using Stylus, but most of it looks like legal CSS). Here is a breakdown of what I think needs to happen for "Re-implement to always use "f32", then scale the small flag accordingly.":
Definitely check out CONTRIBUTING.md to get started, but happy to answer any other questions you may have |
Happy to try and take this. |
Background
OGS maintains a fork of world-flags-sprite, which it uses to display national flags around the site. There are two supported resolutions, 16px and 32px. Maintaining two sets of images is a pain, and there is a lingering bug (#2043) in the 16px flag set.
Suggested Changes
<Flag country=".." big=false>
to always use "f32", then scale the small flag accordingly.online-go.com/src/global_styl/flags16.styl
Line 20 in 2e8bbd1
online-go.com/src/components/Flag/Flag.styl
Line 19 in 2e8bbd1
online-go.com/src/components/Player/PlayerDetails.styl
Line 40 in 2e8bbd1
Related PRs
The text was updated successfully, but these errors were encountered: