Browse Source

refactor(gui-v2): align view create/delete modal further to center

pull/2837/head
braks 2 years ago
parent
commit
b71673b271
  1. 2
      packages/nc-gui-v2/components/dlg/ViewCreate.vue
  2. 2
      packages/nc-gui-v2/components/dlg/ViewDelete.vue

2
packages/nc-gui-v2/components/dlg/ViewCreate.vue

@ -140,7 +140,7 @@ async function onSubmit() {
</script> </script>
<template> <template>
<a-modal v-model:visible="vModel" :confirm-loading="loading"> <a-modal v-model:visible="vModel" class="!top-[35%]" :confirm-loading="loading">
<template #title> <template #title>
{{ $t('general.create') }} <span class="text-capitalize">{{ typeAlias }}</span> {{ $t('objects.view') }} {{ $t('general.create') }} <span class="text-capitalize">{{ typeAlias }}</span> {{ $t('objects.view') }}
</template> </template>

2
packages/nc-gui-v2/components/dlg/ViewDelete.vue

@ -53,7 +53,7 @@ async function onDelete() {
</script> </script>
<template> <template>
<a-modal v-model:visible="vModel" :confirm-loading="isLoading"> <a-modal v-model:visible="vModel" class="!top-[35%]" :confirm-loading="isLoading">
<template #title> {{ $t('general.delete') }} {{ $t('objects.view') }} </template> <template #title> {{ $t('general.delete') }} {{ $t('objects.view') }} </template>
Are you sure you want to delete this view? Are you sure you want to delete this view?

Loading…
Cancel
Save