Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Missing style on td-card #89

Open
peterpeterparker opened this issue Jul 9, 2016 · 1 comment
Open

Missing style on td-card #89

peterpeterparker opened this issue Jul 9, 2016 · 1 comment

Comments

@peterpeterparker
Copy link

Hi,

I just installed the library using bower (bower install ionic-contrib-tinder-cards --save).

Worked fine except that my cards weren't listed above each others but rather one after the other.

I finally found that the following style was missing respectively not automatically added to my td-card element. I added it manually in my html code but wanted to report it to let know about it, in case that would have been a bug.

So before my manual modification, the card were automatically generated like following:

<td-card ... style="translate3d(0px, 0px, 0px);">

After my modification:

<td-card ... style="z-index:{{items.length-$index}};position:absolute;transform: translate3d(0px, 0px, 0px);"

Thx for the library and best regards
Davo

@jolive1993
Copy link

Same issue but thanks for the solution

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

No branches or pull requests

2 participants