feat(ui): default spacing for alert actions
This commit is contained in:
parent
c56d0edd2b
commit
00e5c4dc14
|
@ -2,6 +2,8 @@
|
|||
import { type PastelProps, color } from '~/composables/color'
|
||||
import { type AlignmentProps, align } from '~/composables/alignment'
|
||||
|
||||
import Layout from '~/components/ui/Layout.vue'
|
||||
|
||||
export type Props = PastelProps & AlignmentProps
|
||||
|
||||
const props = defineProps<Props>()
|
||||
|
@ -19,12 +21,13 @@ const props = defineProps<Props>()
|
|||
>
|
||||
<slot />
|
||||
|
||||
<div
|
||||
<Layout
|
||||
v-if="$slots.actions"
|
||||
flex
|
||||
class="actions"
|
||||
>
|
||||
<slot name="actions" />
|
||||
</div>
|
||||
</Layout>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue