Create props for ShopModule content
Allows to customize content if for a specific one for instance
This commit is contained in:
@@ -18,12 +18,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Images
|
||||
&__images {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 256px;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
:global(picture) {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -34,6 +41,9 @@
|
||||
transform: scale3d(1.075, 1.075, 1.075);
|
||||
transition: opacity 0.8s, transform 1.6s var(--ease-quart);
|
||||
}
|
||||
:global(img) {
|
||||
object-position: center 32%;
|
||||
}
|
||||
|
||||
:global(.is-visible) {
|
||||
opacity: 1;
|
||||
|
||||
Reference in New Issue
Block a user