Detect media on About Process Step, Visual fixes

This commit is contained in:
2022-08-29 18:38:42 +02:00
parent ea6cfa2ee2
commit 1a16e12e14
5 changed files with 68 additions and 26 deletions

View File

@@ -21,12 +21,13 @@
}
// Image
:global(.image) {
.media {
position: relative;
z-index: 2;
display: block;
overflow: hidden;
width: 70%;
max-height: 580px;
margin: 0 auto 64px;
border-radius: 6px;
@@ -38,12 +39,20 @@
margin-bottom: 0;
}
:global(img) {
video, :global(.image) {
display: block;
width: 100%;
height: 100%;
width: 100%;
object-fit: cover;
}
:global(.image) {
:global(img) {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
}
}
// Content
@@ -90,7 +99,7 @@
// Alternate content order
&:nth-child(even) {
:global(.image) {
.media {
@include bp (sm) {
grid-column: 2 / span 7;
}