Skip to content

Commit

Permalink
fix(VCardActions): update icon boundary when using v-btn in v-card-ac…
Browse files Browse the repository at this point in the history
…tions

fixes #8042
  • Loading branch information
johnleider committed Aug 5, 2019
1 parent 6b35135 commit 6517b58
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions packages/vuetify/src/components/VCard/VCard.sass
Expand Up @@ -60,16 +60,31 @@
display: flex
padding: 8px

.v-btn.v-size--default
.v-btn.v-btn
padding: 0 8px

+ .v-btn
margin-left: 8px
// Buttons have reduced padding in card actions per spec
// and need to compensate the icon margins accordingly
+ltr()
+ .v-btn
margin-left: 8px

+rtl()
margin-left: 0
.v-icon--left
margin-left: 4px

.v-icon--right
margin-right: 4px

+rtl()
+ .v-btn
margin-right: 8px

.v-icon--left
margin-right: 4px

.v-icon--right
margin-left: 4px

// Modifier
.v-card--flat
+elevation(0)
Expand Down

0 comments on commit 6517b58

Please sign in to comment.