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> </script>
<style lang="css"> <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; padding: 0 !important;
} }
</style> </style>

View File

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

View File

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