Commit bd47df80 authored by catea792's avatar catea792

add scroll to card

parent 496651de
...@@ -130,21 +130,21 @@ ...@@ -130,21 +130,21 @@
</v-icon> </v-icon>
</v-badge> </v-badge>
<v-menu activator="#menu-activator" style="width: 300px"> <v-menu activator="#menu-activator" style="width: 300px">
<v-list dense three-line> <v-list class="list-item no-scroll" dense three-line>
<v-list-item <v-list-item
v-for="item in products" v-for="item in products"
:key="item.id" :key="item.id"
link link
> >
<v-list-item-avatar> <v-list-item-avatar tile align-center min-height="80px" cover>
<v-img :src="item.product.images[0]" /> <v-img :src="item.product.images[0]" />
</v-list-item-avatar> </v-list-item-avatar>
<v-list-item-content> <v-list-item-content class="list-item-card">
<v-list-item-title>{{ item.product.name }}</v-list-item-title> <v-list-item-title>{{ item.product.name }}</v-list-item-title>
<v-list-item-subtitle>{{ item.quantity +"x"+ item.product.price }}</v-list-item-subtitle> <v-list-item-subtitle>{{ item.quantity +"x"+ item.product.price + "$" }}</v-list-item-subtitle>
</v-list-item-content> </v-list-item-content>
<v-list-item-action> <v-list-item-action class="align-self-center">
<v-btn icon @click="removeCart(item,index)"> <v-btn icon @click="removeCart(item,index)">
<v-icon color="grey lighten-1"> <v-icon color="grey lighten-1">
mdi-close-circle-outline mdi-close-circle-outline
...@@ -529,4 +529,14 @@ b { ...@@ -529,4 +529,14 @@ b {
padding: 25px; padding: 25px;
background-color: #ffffff; background-color: #ffffff;
} }
.list-item-card {
align-self: center !important;
}
.list-item {
overflow-y: auto;
height: 450px;
}
.list-item::-webkit-scrollbar {
display: none;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment