Further card styling fixes.

Adds padding to menu and makes the card a flexbox, so subelements
can expand.
master
Sérgio Gomes 2015-06-25 15:01:01 +01:00
parent bd6a2b626c
commit fcc7835e51
1 changed files with 8 additions and 2 deletions

View File

@ -17,6 +17,8 @@
@import "../variables";
.mdl-card {
display: flex;
flex-direction: column;
font-size: $card-font-size;
min-height: $card-height;
overflow: hidden;
@ -96,9 +98,13 @@
}
}
.mdl-card--expand {
flex-grow: 1;
}
.mdl-card__menu {
position: absolute;
right: 0;
top: 0;
right: 16px;
top: 16px;
}