mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 15:02:40 +00:00
(css) Fix display of md-cards in .view-detail
This commit is contained in:
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 {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user