Fix memory leak na stronie koszyka
This commit is contained in:
26
style.less
26
style.less
@@ -250,25 +250,34 @@
|
||||
padding: 0.3rem 1rem;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
|
||||
|
||||
height: var(--idm-hotspot-version-height);
|
||||
align-items: center;
|
||||
}
|
||||
.product__version_single{
|
||||
.product__version_single, .product__version_more{
|
||||
display: flex;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #ccc;
|
||||
transition: border 0.2s;
|
||||
|
||||
aspect-ratio: 1 / 1;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
&:hover{
|
||||
border-color: #111;
|
||||
}
|
||||
&.--active{
|
||||
border-color: var(--primary-color, #111);
|
||||
box-shadow: 0 0 1px 1px var(--primary-color, #111);
|
||||
box-shadow: 0 0 0 1px var(--primary-color, #111);
|
||||
}
|
||||
}
|
||||
.product__version_more{
|
||||
background: #f2f2f2;
|
||||
}
|
||||
.product__content_wrapper{
|
||||
position: relative;
|
||||
}
|
||||
@@ -283,4 +292,15 @@
|
||||
clip-path: inset(0 0 0 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 978px){
|
||||
.idm__hotspot .product:has(.product__versions){
|
||||
.product__versions, .label_icons{
|
||||
transform: translateY(calc(-1 * var(--idm-hotspot-version-height)));
|
||||
}
|
||||
.product__versions{
|
||||
clip-path: inset(0 0 0 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user