mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
Add default margin right to button component
This commit is contained in:
parent
9d04077014
commit
bd9521cec4
@ -1,9 +1,8 @@
|
||||
<template functional>
|
||||
<button type="button"
|
||||
:class="['btn btn-sm', 'btn-' + Object.keys(props).find(key => ['primary', 'secondary', 'light', 'dark', 'danger'].includes(key))]"
|
||||
:class="['btn btn-sm', 'mr-2', 'btn-' + Object.keys(props).find(key => ['primary', 'secondary', 'light', 'dark', 'danger'].includes(key))]"
|
||||
v-bind="data.attrs"
|
||||
v-on="listeners"
|
||||
>
|
||||
v-on="listeners">
|
||||
<slot></slot>
|
||||
</button>
|
||||
</template>
|
Loading…
Reference in New Issue
Block a user