From 35caed5d80a4ad34845c7eda6151ea27242e12dd Mon Sep 17 00:00:00 2001 From: alsaze Date: Thu, 9 Oct 2025 01:34:46 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D1=8E=20=D1=82?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5=D0=B3=D1=83=20=D1=82=D0=BE=D0=B2=D0=B0=D1=80?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ProductDescription.vue | 6 +++--- pages/product/[id].vue | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/ProductDescription.vue b/components/ProductDescription.vue index a1f1812..69116e5 100644 --- a/components/ProductDescription.vue +++ b/components/ProductDescription.vue @@ -37,7 +37,7 @@ @@ -104,10 +104,10 @@ function addToCartBtn() { @media (min-width: 768px) { position: sticky; - align-self: self-start; top: 40px; + max-height: calc(100vh - 40px); + max-width: 350px; overflow-y: auto; - max-height: calc(100vh - 80px); } @include mobile { diff --git a/pages/product/[id].vue b/pages/product/[id].vue index b8eb968..d6cd4c8 100644 --- a/pages/product/[id].vue +++ b/pages/product/[id].vue @@ -107,7 +107,6 @@ onUnmounted(() => { @use '~/assets/scss/utils' as *; .product { - overflow: hidden; position: relative; width: 100%; display: flex;