This commit is contained in:
parent
bb355fe6af
commit
35caed5d80
@ -37,7 +37,7 @@
|
|||||||
<UButton
|
<UButton
|
||||||
:disabled="!currentSize"
|
:disabled="!currentSize"
|
||||||
class="justify-content-center"
|
class="justify-content-center"
|
||||||
label="Добавить в корзину"
|
:label="currentSize ? `Добавить в корзину` : `Выберите размер`"
|
||||||
size="xl"
|
size="xl"
|
||||||
@click="addToCartBtn()"
|
@click="addToCartBtn()"
|
||||||
/>
|
/>
|
||||||
@ -104,10 +104,10 @@ function addToCartBtn() {
|
|||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
align-self: self-start;
|
|
||||||
top: 40px;
|
top: 40px;
|
||||||
|
max-height: calc(100vh - 40px);
|
||||||
|
max-width: 350px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
max-height: calc(100vh - 80px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@include mobile {
|
@include mobile {
|
||||||
|
|||||||
@ -107,7 +107,6 @@ onUnmounted(() => {
|
|||||||
@use '~/assets/scss/utils' as *;
|
@use '~/assets/scss/utils' as *;
|
||||||
|
|
||||||
.product {
|
.product {
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user