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

This commit is contained in:
alsaze 2025-10-09 01:00:16 +03:00
parent 01c860ceee
commit bb355fe6af
2 changed files with 13 additions and 5 deletions

View File

@ -44,10 +44,6 @@ const { cart } = useCart()
</script>
<style lang="scss" scoped>
body {
overflow: hidden;
}
.layout {
display: flex;
flex-direction: column;

View File

@ -89,9 +89,21 @@ const { lengthY: drawerLengthY } = useSwipe(
},
},
)
onMounted(() => {
if (isMobile.value) {
document.body.style.overflow = 'hidden'
}
})
onUnmounted(() => {
if (isMobile.value) {
document.body.style.overflow = ''
}
})
</script>
<style scoped lang="scss">
<style lang="scss">
@use '~/assets/scss/utils' as *;
.product {