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 buttons spacing

Smaug6739b2502a36d731
diff --git a/frontend/app/pages/dashboard/cdn/[id]/index.vue b/frontend/app/pages/dashboard/cdn/[id]/index.vue
index bb4495c0..c335e631 100644
--- a/frontend/app/pages/dashboard/cdn/[id]/index.vue
+++ b/frontend/app/pages/dashboard/cdn/[id]/index.vue
@@ -31,7 +31,7 @@
`${CDN}/${resource.user_id}/${resource.metadata?.transformed_path || resource.content}`
}}</a>
</p>
- <div style="display: flex; justify-content: flex-end">
+ <div class="actions">
<AppButton type="primary" class="btn primary" @click="updateCategory">Update</AppButton>
<AppButton type="danger" @click="showDeleteModal">Delete</AppButton>
</div>
@@ -113,7 +113,11 @@ a {
color: var(--primary);
text-decoration: underline;
}
-
+.actions {
+ display: flex;
+ justify-content: flex-end;
+ gap: 6px;
+}
.preview {
display: flex;
width: 100%;