Skip to content

Commit

Permalink
fix(VListItem): update css selector for list-item-avatar styles
Browse files Browse the repository at this point in the history
was using last-child, needed to be normalized with other helpers

fixes #7930
  • Loading branch information
johnleider committed Jul 27, 2019
1 parent 23c8518 commit a689c03
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/vuetify/src/components/VList/VListItem.sass
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,22 @@
align-self: flex-start
margin: 16px 0

// https://github.com/vuetifyjs/vuetify/issues/7930
.v-list-item__action,
.v-list-item__avatar,
.v-list-item__icon
&:last-of-type:not(:only-child)
margin-left: 16px

.v-list-item__avatar
&:first-child
margin-right: 24px

&:last-child:not(:only-child)
margin-left: 16px

.v-list-item__action,
.v-list-item__icon
&:first-child
margin-right: 32px

&:last-of-type:not(:only-child)
margin-left: 16px

.v-list-item__action,
.v-list-item__avatar,
.v-list-item__icon
Expand Down

0 comments on commit a689c03

Please sign in to comment.