Browse Source

fix: update btn stylings

pull/5627/head
DarkPhoenix2704 2 years ago
parent
commit
6a9cd2927c
  1. 17
      packages/nc-gui/components/dlg/QuickImport.vue

17
packages/nc-gui/components/dlg/QuickImport.vue

@ -482,13 +482,14 @@ const beforeUpload = (file: UploadFile) => {
</div> </div>
</a-spin> </a-spin>
<template #footer> <template #footer>
<a-button v-if="templateEditorModal" key="back" @click="templateEditorModal = false">Back</a-button> <a-button v-if="templateEditorModal" key="back" class="!rounded-md" @click="templateEditorModal = false">Back</a-button>
<a-button v-else key="cancel" @click="dialogShow = false">{{ $t('general.cancel') }}</a-button> <a-button v-else key="cancel" class="!rounded-md" @click="dialogShow = false">{{ $t('general.cancel') }}</a-button>
<a-button <a-button
v-if="activeKey === 'jsonEditorTab' && !templateEditorModal" v-if="activeKey === 'jsonEditorTab' && !templateEditorModal"
key="format" key="format"
class="!rounded-md"
:disabled="disableFormatJsonButton" :disabled="disableFormatJsonButton"
@click="formatJson" @click="formatJson"
> >
@ -499,7 +500,7 @@ const beforeUpload = (file: UploadFile) => {
v-if="!templateEditorModal" v-if="!templateEditorModal"
key="pre-import" key="pre-import"
type="primary" type="primary"
class="nc-btn-import" class="nc-btn-import !rounded-md"
:loading="preImportLoading" :loading="preImportLoading"
:disabled="disablePreImportButton" :disabled="disablePreImportButton"
@click="handlePreImport" @click="handlePreImport"
@ -507,7 +508,15 @@ const beforeUpload = (file: UploadFile) => {
{{ $t('activity.import') }} {{ $t('activity.import') }}
</a-button> </a-button>
<a-button v-else key="import" type="primary" :loading="importLoading" :disabled="disableImportButton" @click="handleImport"> <a-button
v-else
key="import"
type="primary"
class="!rounded-md"
:loading="importLoading"
:disabled="disableImportButton"
@click="handleImport"
>
{{ $t('activity.import') }} {{ $t('activity.import') }}
</a-button> </a-button>
</template> </template>

Loading…
Cancel
Save