(css) Fix display of md-cards in .view-detail
parent
522dc5f85a
commit
218aeb5f28
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue