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>
<template>
<a-modal v-model:visible="vModel" :confirm-loading="loading">
<a-modal v-model:visible="vModel" class="!top-[35%]" :confirm-loading="loading">
<template #title>
{{ $t('general.create') }} <span class="text-capitalize">{{ typeAlias }}</span> {{ $t('objects.view') }}
</template>

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

@ -53,7 +53,7 @@ async function onDelete() {
</script>
<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>
Are you sure you want to delete this view?

Loading…
Cancel
Save