From 42a12dd89da2e7e5ea5f6a3bc7611fb2e9f2563a Mon Sep 17 00:00:00 2001 From: Jesse205 <51242302+Jesse205@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:11:20 +0800 Subject: [PATCH] fix(VDialog): make form fill parent (#20555) Co-authored-by: Kael --- .../vuetify/src/components/VDialog/VDialog.sass | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/vuetify/src/components/VDialog/VDialog.sass b/packages/vuetify/src/components/VDialog/VDialog.sass index 9241f6e3bc6..e45e92a08df 100644 --- a/packages/vuetify/src/components/VDialog/VDialog.sass +++ b/packages/vuetify/src/components/VDialog/VDialog.sass @@ -24,6 +24,7 @@ --v-scrollbar-offset: 0px border-radius: $dialog-border-radius overflow-y: auto + flex: 1 1 100% @include tools.elevation($dialog-elevation) @@ -54,6 +55,7 @@ margin: 0 padding: 0 width: 100% + height: 100% max-width: 100% max-height: 100% overflow-y: auto @@ -62,8 +64,6 @@ &, > form - height: 100% - > .v-card, > .v-sheet min-height: 100% @@ -73,8 +73,7 @@ .v-dialog--scrollable > .v-overlay__content &, > form - display: flex - + &, > .v-card display: flex flex: 1 1 100% @@ -82,6 +81,6 @@ max-height: 100% max-width: 100% - > .v-card-text - backface-visibility: hidden - overflow-y: auto + > .v-card > .v-card-text + backface-visibility: hidden + overflow-y: auto