From 568037e8b4cdfe154071f9aafa0ec1a4f001283e Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Tue, 1 Oct 2024 12:55:55 -0500 Subject: [PATCH] improve styling of collection create button in `FormData` Place it right next to the buttons for choosing between batch or singular collection --- .../src/components/Common/ButtonSpinner.vue | 23 ++++++++------ .../Form/Elements/FormData/FormData.vue | 31 +++++++------------ .../components/Form/Elements/FormSelect.vue | 3 +- 3 files changed, 26 insertions(+), 31 deletions(-) diff --git a/client/src/components/Common/ButtonSpinner.vue b/client/src/components/Common/ButtonSpinner.vue index 7e7509a8b850..456e97b2ed96 100644 --- a/client/src/components/Common/ButtonSpinner.vue +++ b/client/src/components/Common/ButtonSpinner.vue @@ -1,26 +1,25 @@ @@ -32,8 +31,10 @@ withDefaults(defineProps(), { variant="info" title="Please Wait..." class="d-flex flex-nowrap align-items-center text-nowrap"> - - {{ title }} + + + {{ title }} + (), { :title="tooltip" :disabled="disabled" @click="$emit('onClick')"> - - {{ title }} + + + {{ title }} + diff --git a/client/src/components/Form/Elements/FormData/FormData.vue b/client/src/components/Form/Elements/FormData/FormData.vue index 21b52437d446..18bdce82144e 100644 --- a/client/src/components/Form/Elements/FormData/FormData.vue +++ b/client/src/components/Form/Elements/FormData/FormData.vue @@ -656,6 +656,18 @@ const noOptionsWarningMessage = computed(() => { ... + + + +
@@ -689,25 +701,6 @@ const noOptionsWarningMessage = computed(() => { {{ noOptionsWarningMessage }} - - {