Wrap "create new object" button, for padding
This commit is contained in:
parent
15ddce14ee
commit
0ceabeb53f
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue