mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #1075] Small error in us.svg #506
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#506
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andreascaesar on GitHub (Jan 19, 2023).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/1075
Originally assigned to: @NotTsunami on GitHub.
The us.svg is larger than the viewBox as you can see when opened in for example Inkscape:

This is a problem for us since we dynamically are adding a border around the svg, we actually loads the svg and adds a group and a background rect, also resizing the viewbox (alters the actual svg xml). All other solutions for adding borders have failed for us, but doing this with background makes perfect svg with border except for the us flag where the fake right border will be gone...
@NotTsunami commented on GitHub (Jan 19, 2023):
Thanks for the report, will try to squeeze this in before the weekend.
As a small note, I think there are some other flags this is applicable to, is this the only one you have run into issues with?
@andreascaesar commented on GitHub (Jan 23, 2023):
I havn't found this issue with any other flag.
@NotTsunami commented on GitHub (Jan 26, 2023):
I very briefly looked at this over the weekend, it's pretty funny in that it is just a larger flag on a smaller canvas. Need to scale it down properly, working on this next.