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

Vertical statements should automatically add intrinsic-height constraints where necessary #9

Open
paulyoung opened this issue Jun 10, 2014 · 1 comment

Comments

@paulyoung
Copy link
Contributor

Currently the following statement:

@v [#platform-h2]-[#platform-h1]-[#platform-first-p]-[#platform-second-p]

only works if these constraints are also added:

#platform-h2[height] == #platform-h2[intrinsic-height];
#platform-h1[height] == #platform-h1[intrinsic-height];
#platform-first-p[height] == #platform-first-p[intrinsic-height];

Instead, [intrinsic-height] could be automatically added for all but the last item.

@paulyoung
Copy link
Contributor Author

Similarly, this example only works by manually adding intrinsic-height:

@v [#platform-second-p]-| outer-gap([margin] * 3) in(#platform);
#platform-second-p[height] == #platform-second-p[intrinsic-height];

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

No branches or pull requests

1 participant