Skip to content
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

Large seals break app interface #4077

Closed
carolinemodic opened this issue Oct 11, 2023 · 1 comment
Closed

Large seals break app interface #4077

carolinemodic opened this issue Oct 11, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@carolinemodic
Copy link
Contributor

Looks like we still have rendering bugs on big seal svgs :lolsob:

Issue automatically created from slack feedback reported by caroline
https://votingworks.slack.com/archives/CJU9MSC6S/p1697049242642429

@carolinemodic carolinemodic changed the title Looks like we still have rendering bugs on big seal svgs :lolsob: Resize seals that are too large without breaking the UI Oct 11, 2023
@carolinemodic carolinemodic added this to the nh-march milestone Oct 11, 2023
@mattroe mattroe removed the triage label Oct 11, 2023
@jonahkagan
Copy link
Collaborator

In my experience, one way to fix this is to ensure that the SVG does not have width/height attributes but does have viewbox="0 0 {width} {height}". There are probably ways we can make our code handle SVGs with width/height attributes better, but this is a workaround that I've used in the meantime.

@mattroe mattroe changed the title Resize seals that are too large without breaking the UI Large seals break app interface Nov 21, 2023
@mattroe mattroe closed this as completed Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants