Merge pull request #5429 from artoscinote/ma_SCI_8479

Fix margin between toolbar buttons [SCI-8479]
This commit is contained in:
artoscinote 2023-05-18 12:01:14 +02:00 committed by GitHub
commit 2adb908dc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,10 @@
<template>
<div v-if="loading || actions.length" class="sn-action-toolbar p-4 w-full fixed bottom-0 rounded-t-md shadow-[0_-12px_24px_-12px_rgba(35,31,32,0.2)]" :style="`width: ${width}px; bottom: ${bottom}px;`">
<div class="sn-action-toolbar__actions flex">
<div v-if="loading && !actions.length" class="sn-action-toolbar__action">
<div v-if="loading && !actions.length" class="sn-action-toolbar__action mr-1.5">
<a class="btn btn-light"></a>
</div>
<div v-for="action in actions" :key="action.name" class="sn-action-toolbar__action">
<div v-for="action in actions" :key="action.name" class="sn-action-toolbar__action mr-1.5">
<a :class="`btn btn-light ${action.button_class}`"
:href="(['link', 'remote-modal']).includes(action.type) ? action.path : '#'"
:id="action.button_id"