mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
Merge pull request #5429 from artoscinote/ma_SCI_8479
Fix margin between toolbar buttons [SCI-8479]
This commit is contained in:
commit
2adb908dc0
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue