ui: fix layout for action button for template form (#8434)

Fixes layout for the action buttons on register template form

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2024-01-04 17:33:55 +05:30 committed by GitHub
parent 687610dd5f
commit 66ae96b5eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -429,8 +429,10 @@
</a-form-item>
</a-col>
</a-row>
<a-button @click="closeAction">{{ $t('label.cancel') }}</a-button>
<a-button :loading="loading" ref="submit" type="primary" @click="handleSubmit">{{ $t('label.ok') }}</a-button>
<div :span="24" class="action-button">
<a-button @click="closeAction">{{ $t('label.cancel') }}</a-button>
<a-button :loading="loading" ref="submit" type="primary" @click="handleSubmit">{{ $t('label.ok') }}</a-button>
</div>
</a-form>
</a-spin>
</div>