feat:#37 switched button locations

This commit is contained in:
Elmar Kresse
2024-07-08 20:55:39 +02:00
parent 070e0ac0b0
commit 78472a42d6
4 changed files with 46 additions and 3 deletions

View File

@@ -87,6 +87,32 @@ const hasContent = computed(() => {
>
<slot name="content"></slot>
</div>
<div
v-if="button"
:class = "[
hideContent
? ['opacity-0', 'pointer-events-none', 'h-1rem', 'overflow-hidden']
: [
'flex',
'flex-wrap',
'my-3',
'gap-2',
'w-full',
'lg:w-8',
'align-items-center',
'justify-content-end',
]
]"
class=""
>
<Button
:disabled="button.disabled"
class="col-12 md:col-4"
:icon="button.icon"
:label="button.label"
@click="button.onClick()"
/>
</div>
</div>
</template>