Skip to content

Commit

Permalink
fix(VCard): fix word wrapping & color (#8380)
Browse files Browse the repository at this point in the history
* fix(vcard): fix text color in nested v-card

fixes #7920

* fix(vcard): fix long words overflow on small screens

fixes #7730
  • Loading branch information
avengerweb authored and johnleider committed Aug 12, 2019
1 parent add1add commit 68cc268
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vuetify/src/components/VCard/VCard.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
background-color: map-get($material, 'cards')
color: map-deep-get($material, 'text', 'primary')

.v-card__text
> .v-card__text
color: map-deep-get($material, 'text', 'secondary')

&.v-card--outlined
Expand All @@ -17,6 +17,8 @@
outline: none
text-decoration: none
transition-property: box-shadow, opacity
word-break: break-word
overflow-wrap: break-word
+elevation(2)

> *:first-child:not(.v-btn):not(.v-chip),
Expand Down

0 comments on commit 68cc268

Please sign in to comment.