Fixed: Layout of slot fill dialog is no longer broken by tall images, background is now the correct color

This commit is contained in:
Stefan Zermatten
2021-01-28 16:48:33 +02:00
parent db83d5f82a
commit 2bf749c4f1
2 changed files with 20 additions and 4 deletions

View File

@@ -34,6 +34,7 @@
v-if="!$slots['unwrapped-content']"
id="base-dialog-body"
v-scroll:#base-dialog-body="onScroll"
:class="{'dark-body': darkBody}"
>
<slot />
</v-card-text>
@@ -56,6 +57,7 @@
type: Function,
default: undefined,
},
darkBody: Boolean,
},
data(){ return {
offsetTop: 0,
@@ -95,4 +97,10 @@
flex-grow: 1;
overflow: auto;
}
#base-dialog-body.dark-body {
background-color: #fafafa;
}
.theme--dark #base-dialog-body.dark-body {
background-color: #303030;
}
</style>