Wrap "create new object" button, for padding

This commit is contained in:
Lance Edgar 2020-03-13 13:16:14 -05:00
parent 15ddce14ee
commit 0ceabeb53f

View file

@ -7,13 +7,15 @@
</ul>
</nav>
<b-button v-if="allowCreate && hasModelPerm('create')"
class="new-object"
type="is-primary"
tag="router-link"
:to="getModelPathPrefix() + '/new'">
New {{ getModelTitle() }}
</b-button>
<div class="buttons"
v-if="allowCreate && hasModelPerm('create')">
<b-button class="new-object"
type="is-primary"
tag="router-link"
:to="getModelPathPrefix() + '/new'">
New {{ getModelTitle() }}
</b-button>
</div>
<slot></slot>