fix img occlusion

This commit is contained in:
Lachlan Kermode
2020-07-03 10:46:30 +02:00
parent 2b9975397f
commit fdcff48c62
3 changed files with 16 additions and 4 deletions

View File

@@ -316,6 +316,7 @@ $overlay-bg: rgba(239,239,239,0.9);
padding: 20px;
min-width: calc(100% - 40px);
z-index: $final-level;
max-height: calc(100% - 200px);
}
.media-player {
@@ -332,15 +333,19 @@ $overlay-bg: rgba(239,239,239,0.9);
}
.source-image, .source-video {
padding: 0px;
padding: 1px;
font-family: 'Lato', Helvetica, sans-serif;
// max-width: calc(#{$panel-width} - 100px);
max-height: $panel-height;
max-height: 100%;
margin: auto;
width: auto;
height: auto;
max-width: 100%;
object-fit: contain;
&:hover {
cursor: pointer;
background-color: $yellow;
}
}
.source-image-loader {