This commit is contained in:
vadim committed 2026-10-05 10:52:49 +03:00
1 parent b80e88b121
commit 51debefee5
13 files changed
+139 -70

No files matched your search

+10 -2
View File
@@ -46,10 +46,18 @@ const open = () => {
<v-btn density="compact" size="small" :icon="icon" @click="open" />
<div @click="open" class="font-weight-bold text-capitalize text-title-medium cursor-pointer">{{ title }}</div>
</div>
<div v-if="isOpen" class="ml-6 mt-2">
<div v-if="isOpen" class="panel__body ml-6 mt-2">
<slot />
</div>
</div>
</template>
<style scoped lang="scss"></style>
<style scoped lang="scss">
// Lets the body fill the panel when the panel itself is stretched by its parent
.panel__body {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
</style>