Fixed form section expansion

This commit is contained in:
Stefan Zermatten
2021-03-26 09:26:31 +02:00
parent aa34508cb3
commit 623cff584c
3 changed files with 16 additions and 22 deletions

View File

@@ -183,7 +183,7 @@ export default {
</script>
<style lang="css">
.v-expansion-panel-content__wrap, .v-expansion-panel-header {
.library-browser .v-expansion-panel-content__wrap, .library-browser .v-expansion-panel-header {
padding: 0 !important;
}
</style>

View File

@@ -1,28 +1,22 @@
<template lang="html">
<form-sections v-if="standalone">
<v-expansion-panel-content>
<div
slot="header"
class="subheading"
>
<v-expansion-panel>
<v-expansion-panel-header>
{{ name }}
</div>
<v-card-text>
</v-expansion-panel-header>
<v-expansion-panel-content>
<slot />
</v-card-text>
</v-expansion-panel-content>
</v-expansion-panel-content>
</v-expansion-panel>
</form-sections>
<v-expansion-panel-content v-else>
<div
slot="header"
class="subheading"
>
<v-expansion-panel v-else>
<v-expansion-panel-header>
{{ name }}
</div>
<v-card-text>
</v-expansion-panel-header>
<v-expansion-panel-content>
<slot />
</v-card-text>
</v-expansion-panel-content>
</v-expansion-panel-content>
</v-expansion-panel>
</template>
<script lang="js">

View File

@@ -1,10 +1,10 @@
<template lang="html">
<v-expansion-panel
<v-expansion-panels
popout
expand
multiple
>
<slot />
</v-expansion-panel>
</v-expansion-panels>
</template>
<script lang="js">