Skip to content

Commit

Permalink
fix(md-card): set display: inline-block on cards by default so thes h…
Browse files Browse the repository at this point in the history
…ave a height, fixes some quirks with theming and "hoverable"
  • Loading branch information
Thanood committed Apr 6, 2016
1 parent 4ffda60 commit 75d2c4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/card/card.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
md-card {
display: inline-block;
}
1 change: 1 addition & 0 deletions src/card/card.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<template>
<require from="./card.css"></require>
<div class="card ${ mdSize || '' }">
<div if.bind="mdImage !== null" md-waves="color: light; block: true;" class="card-image">
<img class="${ mdReveal === true ? 'activator' : '' }" src.bind="mdImage" />
Expand Down

0 comments on commit 75d2c4d

Please sign in to comment.