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

Setting incorrect size #5

Open
anks2020 opened this issue May 29, 2019 · 0 comments
Open

Setting incorrect size #5

anks2020 opened this issue May 29, 2019 · 0 comments

Comments

@anks2020
Copy link

Hi All,
I recently used this package and came across an issue, the height that I pass is getting changed and top is getting added to the image.
The style of image() becomes:
'position: absolute;
display: block;
left: 0px;
top: 133.333px;
width: 200px;
height: 133.333px'
instead of:
'position: absolute;
display: block;
left: 0px;
width: 200px;
height: 400px'

I tried to change it by passing to the style attribute of Image tag, it didn't work.
Am I missing something?
Please suggest a solution.

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