|
@@ -1,6 +1,7 @@
|
|
<template lang="pug">
|
|
<template lang="pug">
|
|
- transition-group(name="list" tag="ul" class="cart-items")
|
|
|
|
- cart-item(v-for="item in items" :key="item" :item="item" :symbol="symbol")
|
|
|
|
|
|
+ .cart-items-wrapper
|
|
|
|
+ transition-group(name="list" tag="ul" class="cart-items")
|
|
|
|
+ cart-item(v-for="item in items" :key="item" :item="item" :symbol="symbol")
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
@@ -30,15 +31,16 @@
|
|
<style lang="sass">
|
|
<style lang="sass">
|
|
.cart-items-wrapper
|
|
.cart-items-wrapper
|
|
width: 100%
|
|
width: 100%
|
|
- height: 100%
|
|
|
|
|
|
+ height: calc(100% - 125px)
|
|
overflow-y: auto
|
|
overflow-y: auto
|
|
overflow-x: hidden
|
|
overflow-x: hidden
|
|
|
|
+ padding: 0
|
|
|
|
+ margin: 15px 0
|
|
|
|
|
|
.cart-items
|
|
.cart-items
|
|
width: 100%
|
|
width: 100%
|
|
- height: calc(100% - 30px)
|
|
|
|
padding: 0
|
|
padding: 0
|
|
- margin: 15px 0
|
|
|
|
|
|
+ margin: 0
|
|
|
|
|
|
.list-enter-active, .list-leave-active
|
|
.list-enter-active, .list-leave-active
|
|
transition: all 0.3s
|
|
transition: all 0.3s
|