правки в модалке продукта
This commit is contained in:
gofnnp 2023-01-19 21:13:38 +04:00
parent 30edd5d8c1
commit 72e308c706
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,7 @@
<div class="product-modal">
<div class="product-modal__information-container">
<div class="product-modal__information-container" [ngStyle]="{
'max-width': product.modifiers_group.length ? 'calc(50% - 16px)' : '100%'
}">
<img
src="{{
product.image?.length ? product.image : './assets/no-image.png'

View File

@ -7,7 +7,6 @@
gap: 32px;
&__information-container {
max-width: calc(50% - 16px);
img {
width: 100%;
border-radius: 1.125rem;
@ -133,7 +132,7 @@
flex-direction: column;
&__information-container {
max-width: 100%;
max-width: 100% !important;
}
}
}