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

medication svg is scaled down #600

Open
dreeves4321 opened this issue Mar 13, 2019 · 1 comment
Open

medication svg is scaled down #600

dreeves4321 opened this issue Mar 13, 2019 · 1 comment

Comments

@dreeves4321
Copy link
Collaborator

The medication svg has height and width attributes set that are scaling down the image slightly. This is why the 10px type is illegible. As an experiment, set the height to 100% in the dev tools window:

<svg width="100%" height="6em" viewBox="10 30 260 110" style="
    height:  100%;
">

The sizing is fixed, but the location needs fixing.

@dreeves4321
Copy link
Collaborator Author

the height="6em" is fixing the height of the div in which the svg lives, which is too short for the size of the svg declared in its creation. I don't know what role the viewport plays here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant