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

'Flexible children' example doesn't work. #772

Closed
probablycorey opened this issue Sep 26, 2014 · 1 comment
Closed

'Flexible children' example doesn't work. #772

probablycorey opened this issue Sep 26, 2014 · 1 comment

Comments

@probablycorey
Copy link

The Flexible children example doesn't work as described. I was able to reproduce this on codepen http://codepen.io/anon/pen/njlzJ

I'm using Chrome Version 37.0.2062.124 on OS 10.9.4

@ebidel
Copy link
Contributor

ebidel commented Sep 26, 2014

For vertical layout, flexbox needs the container to have a height to know what to flex in to. Try:

<div vertical layout style="height:150px;">
  <div>Alpha</div>
  <div flex>Beta (flex)</div>
  <div>Gamma</div>
</div>

Added this clarity in the docs: Polymer/old-docs-site@4e79482

@ebidel ebidel closed this as completed Sep 26, 2014
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