создаю телегу товаров
All checks were successful
Deploy / build (push) Successful in 47s

This commit is contained in:
alsaze 2025-10-09 01:34:46 +03:00
parent bb355fe6af
commit 35caed5d80
2 changed files with 3 additions and 4 deletions

View File

@ -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 {

View File

@ -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;