Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix accessibility placement of delete button

Smaug6739c5b9ae6f7f40
diff --git a/frontend/app/pages/dashboard/cdn/[id]/index.vue b/frontend/app/pages/dashboard/cdn/[id]/index.vue
index 30e1e35c..582c3a93 100644
--- a/frontend/app/pages/dashboard/cdn/[id]/index.vue
+++ b/frontend/app/pages/dashboard/cdn/[id]/index.vue
@@ -33,6 +33,7 @@
</p>
<div style="display: flex; justify-content: flex-end">
<AppButton type="primary" class="btn primary" @click="updateCategory">Update</AppButton>
+ <AppButton type="danger" @click="showDeleteModal">Delete</AppButton>
</div>
<h4>Preview</h4>
<div class="preview">
@@ -43,11 +44,6 @@
/>
<p v-else>Preview not available for this file type.</p>
</div>
- <h4>Danger</h4>
- <p style="color: #dc3545">Deleting a ressource will remove it from the server. This action is irreversible.</p>
- <div style="display: flex; justify-content: flex-end">
- <AppButton type="danger" @click="showDeleteModal">Delete</AppButton>
- </div>
</form>
</div>
</template>