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

How can I keep aspect ratio of an product picture and flow other content under it? #2

Closed
lexrus opened this issue Nov 3, 2015 · 2 comments

Comments

@lexrus
Copy link

lexrus commented Nov 3, 2015

Take an example:
cook multiline 2x

I haven't figured out a proper way to do that.
Anyway, this plugin is awesome.

@matt-curtis
Copy link
Owner

The easiest way would probably be to lock the proportions, and change only the height of the image in your constraints.

constraint_demos_sketch

I would then put the rest of the content in a group beneath that image, with an appropriate top pinning. Maybe top-pinning = 100% + yourPadding and relativity = previous sibling?

@matt-curtis
Copy link
Owner

See Issue #5

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

2 participants