This commit is contained in:
parent
bb355fe6af
commit
35caed5d80
@ -37,7 +37,7 @@
|
||||
<UButton
|
||||
:disabled="!currentSize"
|
||||
class="justify-content-center"
|
||||
label="Добавить в корзину"
|
||||
:label="currentSize ? `Добавить в корзину` : `Выберите размер`"
|
||||
size="xl"
|
||||
@click="addToCartBtn()"
|
||||
/>
|
||||
@ -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 {
|
||||
|
||||
@ -107,7 +107,6 @@ onUnmounted(() => {
|
||||
@use '~/assets/scss/utils' as *;
|
||||
|
||||
.product {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user