Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
K
kiaisoft_tuananh_nuxt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Tran Viet Anh
kiaisoft_tuananh_nuxt
Commits
bd47df80
Commit
bd47df80
authored
Mar 16, 2023
by
catea792
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add scroll to card
parent
496651de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
Header.vue
components/user/Header.vue
+15
-5
No files found.
components/user/Header.vue
View file @
bd47df80
...
...
@@ -130,21 +130,21 @@
</v-icon>
</v-badge>
<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-for=
"item in products"
:key=
"item.id"
link
>
<v-list-item-avatar>
<v-list-item-avatar
tile
align-center
min-height=
"80px"
cover
>
<v-img
:src=
"item.product.images[0]"
/>
</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-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-action>
<v-list-item-action
class=
"align-self-center"
>
<v-btn
icon
@
click=
"removeCart(item,index)"
>
<v-icon
color=
"grey lighten-1"
>
mdi-close-circle-outline
...
...
@@ -529,4 +529,14 @@ b {
padding
:
25px
;
background-color
:
#ffffff
;
}
.list-item-card
{
align-self
:
center
!important
;
}
.list-item
{
overflow-y
:
auto
;
height
:
450px
;
}
.list-item
::-webkit-scrollbar
{
display
:
none
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment