diff --git a/app/assets/javascripts/design_management/components/design_description/description_form.vue b/app/assets/javascripts/design_management/components/design_description/description_form.vue index 739a84b98e405ca4191ad56cdc86a69feb400805..75e04f8b9645fda0c09b0b8bcd8c499ef20ecbfe 100644 --- a/app/assets/javascripts/design_management/components/design_description/description_form.vue +++ b/app/assets/javascripts/design_management/components/design_description/description_form.vue @@ -191,7 +191,7 @@ export default { @keydown.ctrl.enter="updateDesignDescription" @keydown.exact.esc.stop="closeForm" /> - <div class="gl-mt-3 gl-flex"> + <div class="gl-mt-3 gl-flex gl-gap-3"> <gl-button category="primary" variant="confirm" @@ -200,7 +200,7 @@ export default { @click="updateDesignDescription" >{{ s__('DesignManagement|Save changes') }} </gl-button> - <gl-button category="tertiary" class="gl-ml-3" data-testid="cancel" @click="closeForm" + <gl-button category="tertiary" data-testid="cancel" @click="closeForm" >{{ s__('DesignManagement|Cancel') }} </gl-button> </div> diff --git a/app/assets/javascripts/work_items/components/work_item_description.vue b/app/assets/javascripts/work_items/components/work_item_description.vue index 361df0abc73a6c9f838a900d86263018ffba55a2..22c74b390ad8e78b38d3402143837fa9c1bb055e 100644 --- a/app/assets/javascripts/work_items/components/work_item_description.vue +++ b/app/assets/javascripts/work_items/components/work_item_description.vue @@ -368,7 +368,7 @@ export default { </gl-button> </template> </gl-alert> - <div v-else-if="showButtonsBelowField" class="gl-mt-5"> + <div v-else-if="showButtonsBelowField" class="gl-mt-5 gl-flex gl-gap-3"> <gl-button category="primary" variant="confirm" @@ -377,7 +377,7 @@ export default { type="submit" >{{ saveButtonText }} </gl-button> - <gl-button category="secondary" class="gl-ml-3" data-testid="cancel" type="reset" + <gl-button category="secondary" data-testid="cancel" type="reset" >{{ __('Cancel') }} </gl-button> </div>