Skip to content

Commit

Permalink
fix(md-card): fix an error with reveal cards caused by ShadowDOM changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanood committed Jun 15, 2016
1 parent 717ddf7 commit 1bc8ac4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/card/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@
<span if.bind="mdImage === null" class="card-title">${mdTitle}</span>
<slot></slot>
</div>
<div if.bind="mdReveal" class="card-reveal">
<span class="card-title activator">
<div show.bind="mdReveal" class="${ mdReveal ? 'card-reveal' : '' }">
<span class="card-title ${ mdReveal ? 'activator' : '' }">
${mdTitle}
<i class="material-icons right">close</i>
</span>
<slot name="reveal-text"></slot>
<!-- <template part="reveal-text"></template> -->
</div>
</div>
</template>

0 comments on commit 1bc8ac4

Please sign in to comment.