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.

Improve cards size

Smaug#6739baa30578fc0c
diff --git a/frontend/pages/dashboard/categories/[id]/index.vue b/frontend/pages/dashboard/categories/[id]/index.vue
index 72cbc97e..7de465ef 100644
--- a/frontend/pages/dashboard/categories/[id]/index.vue
+++ b/frontend/pages/dashboard/categories/[id]/index.vue
@@ -76,16 +76,20 @@ h1 {
.document-list {
display: flex;
flex-wrap: wrap;
+ justify-content: space-around;
gap: 20px;
max-width: 420px * 3 + 100px;
- margin: 0 auto;
+ // Center the content
+ margin: auto;
+ padding: 20px;
+ width: 100%;
}
.document-card {
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
overflow: hidden;
- width: 400px;
+ width: 350px;
display: flex;
flex-direction: column;
justify-content: space-between;