This is an automated email from the ASF dual-hosted git repository.

shwstppr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 66ae96b5eb6 ui: fix layout for action button for template form (#8434)
66ae96b5eb6 is described below

commit 66ae96b5eb6ae6cdeb3f78fa08ea530461054c88
Author: Abhishek Kumar <abhishek.mr...@gmail.com>
AuthorDate: Thu Jan 4 17:33:55 2024 +0530

    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.mr...@gmail.com>
---
 ui/src/views/image/RegisterOrUploadTemplate.vue | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ui/src/views/image/RegisterOrUploadTemplate.vue 
b/ui/src/views/image/RegisterOrUploadTemplate.vue
index 400d096596c..999a1b8d120 100644
--- a/ui/src/views/image/RegisterOrUploadTemplate.vue
+++ b/ui/src/views/image/RegisterOrUploadTemplate.vue
@@ -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>

Reply via email to