(css) Fix display of md-cards in .view-detail

This commit is contained in:
Francis Lachapelle committed 2016-01-21 14:58:10 -05:00
1 parent 522dc5f85a
commit 218aeb5f28
2 files changed
+12 -6

No files matched your search

@@ -103,15 +103,17 @@ md-sidenav {
.msg-attachment-image,
.msg-attachment-link {
flex: 0 0 100%;
@include from(md) {
@include from(sm) {
flex: 0 0 50%;
}
@include from(lg) {
@include from(md) {
flex: 0 0 33%;
}
> div {
.md-card-image {
// Make sure the image stays proportional
max-width: 100%;
width: 100%;
min-height: 100%;
height: auto;
}
}
.popup {
+6 -2
View File
@@ -94,8 +94,12 @@ $detailView-width: grid-step(8) !global;
z-index: $z-index-view;
overflow: hidden;
md-card {
overflow: hidden;
.sg-face, .sg-back {
> md-card {
overflow: hidden;
min-width: 100%;
min-height: 0;
}
}
// On small screens, the view slides from the right and takes all screen place.