fix: ux fixes

This commit is contained in:
DarkPhoenix2704
2024-07-24 07:23:26 +00:00
parent f430aa36c8
commit 8b251ba12b
7 changed files with 81 additions and 45 deletions

View File

@@ -13,12 +13,10 @@ const openMethod = ref<'browser' | 'google' | undefined>()
<div v-if="!openMethod" :class="props.class" class="flex flex-col text-white gap-2 items-center justify-center">
<GeneralIcon class="w-28 h-28" icon="pdfFile" />
<h1 class="font-bold text-white text-center text-lg">Opening your file in external service exposes your data</h1>
<div class="flex items-center justify-center gap-2">
<NcButton @click="openMethod = 'browser'">
<NcButton type="secondary" @click="openMethod = 'browser'">
<div class="flex items-center gap-1">
<GeneralIcon icon="lock" />
<GeneralIcon icon="globe" />
Open in browser
</div>
</NcButton>