Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
54 lines
833 B
Plaintext
54 lines
833 B
Plaintext
@import '../../scss/styles.scss';
|
|
|
|
@layer payload-default {
|
|
.thumbnail {
|
|
&:not(.thumbnail--size-none) {
|
|
min-height: 100%;
|
|
flex-shrink: 0;
|
|
align-self: stretch;
|
|
overflow: hidden;
|
|
|
|
img,
|
|
svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
&--size-expand {
|
|
max-height: 100%;
|
|
width: 100%;
|
|
padding-top: 100%;
|
|
position: relative;
|
|
|
|
img,
|
|
svg {
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
&--size-large {
|
|
max-height: base(9);
|
|
width: base(9);
|
|
}
|
|
|
|
&--size-medium {
|
|
max-height: base(7);
|
|
width: base(7);
|
|
}
|
|
|
|
&--size-small {
|
|
max-height: base(5);
|
|
width: base(5);
|
|
}
|
|
|
|
@include large-break {
|
|
.thumbnail {
|
|
width: base(5);
|
|
}
|
|
}
|
|
}
|
|
}
|