Skip to content

Commit

Permalink
fix(VCarousel): correct prev/next buttons size (#8122)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekosaur authored and johnleider committed Aug 1, 2019
1 parent e5e5f76 commit 823cb2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 2 additions & 7 deletions packages/vuetify/src/components/VWindow/VWindow.sass
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@
top: calc(50% - 20px)
z-index: 1

.v-btn
margin: 0
height: auto
width: auto

&:hover
background: none
.v-btn:hover
background: none

&__prev
left: 0
Expand Down
3 changes: 2 additions & 1 deletion packages/vuetify/src/components/VWindow/VWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export default BaseItemGroup.extend({
this.$createElement(VBtn, {
props: {
icon: true,
small: true,
},
attrs: {
'aria-label': this.$vuetify.lang.t(`$vuetify.carousel.${direction}`),
Expand All @@ -153,7 +154,7 @@ export default BaseItemGroup.extend({
},
}, [
this.$createElement(VIcon, {
props: { size: 40 },
props: { large: true },
}, icon),
]),
])
Expand Down

0 comments on commit 823cb2c

Please sign in to comment.