Skip to content

Commit

Permalink
docs(VCard): content overflow clarifications (#17839)
Browse files Browse the repository at this point in the history
related  #17593, #17628
  • Loading branch information
scscgit committed Aug 3, 2023
1 parent 2537945 commit ac0a47f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/docs/src/pages/en/components/cards.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ In some cases it is possible to combine the different options, like the example

<example file="v-card/basics-combine" />

### Content overflow

`v-card` does not allow its content to overflow outside the card by default. It also establishes a z-index stacking context, which prevents its content from displaying on top of elements outside the `v-card`, even when it sets a higher z-index value. To override this default behavior, apply the following usage: `<v-card style="overflow: initial; z-index: initial">`.

## Examples

### Props
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/pages/en/getting-started/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,7 @@ app.use(vuetify)
- `v-expansion-panel-header` has been renamed to `v-expansion-panel-title`.
- `v-expansion-panel-content` has been renamed to `v-expansion-panel-text`.
- `v-expansion-panel` now has `text` and `title` props that can be used instead of subcomponents.

### v-card

- `v-card` does not allow content to overflow or use higher `z-index` values to display on top of elements outside it. To disable this behavior, use `<v-card style="overflow: initial; z-index: initial">` ([#17593](https://github.com/vuetifyjs/vuetify/issues/17593), [#17628](https://github.com/vuetifyjs/vuetify/issues/17628))

0 comments on commit ac0a47f

Please sign in to comment.