Skip to content
Snippets Groups Projects
Commit d31e344b authored by Julian's avatar Julian
Browse files

Apply classes to action component

parent fe5a8b00
No related branches found
No related tags found
1 merge request!1123Resolve "Finalise Vuetify app as SPA"
Pipeline #107846 canceled
......@@ -25,11 +25,10 @@
</v-col>
<v-col order="1" order-sm="last" class="ms-5">
<div
class="d-flex gap justify-md-end flex-column-reverse flex-md-row align-end align-md-center"
>
<slot name="actions" />
</div>
<slot
name="actions"
v-bind:classes="'d-flex gap justify-md-end flex-column-reverse flex-md-row align-end align-md-center'"
/>
</v-col>
</v-row>
<slot />
......
......@@ -24,8 +24,8 @@
{{ data.person.username }}
</template>
<template #actions>
<person-actions :id="data.person.id" />
<template #actions="{ classes }">
<person-actions :class="classes" :id="data.person.id" />
</template>
<div class="text-center my-5" v-text="data.person.description"></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment