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

Deck has 0 height after clean load #19

Open
zalun opened this issue Sep 3, 2014 · 1 comment
Open

Deck has 0 height after clean load #19

zalun opened this issue Sep 3, 2014 · 1 comment

Comments

@zalun
Copy link

zalun commented Sep 3, 2014

After adding

    <script src="app/bower_components/brick/dist/platform/platform.js"></script>
    <link rel="import" href="app/bower_components/brick-deck/dist/brick-deck.html">

...

    <brick-deck selected-index="0">
      <brick-card selected>
        <h1>Tosia</h1>
      </brick-card>
      <brick-card>
        <h1>Magda</h1>
      </brick-card>
    </brick-deck>

The page is displayed with 0 height.

I needed to change the height of the body element to make the deck visible.
I think it would be good to add this info in the docs.

@sole
Copy link

sole commented Sep 3, 2014

body and html to height: 100%!!

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