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: update category actions layout and styling for consistency

Smaug6739b76f80b85d66
diff --git a/frontend/app/pages/dashboard/categories/[id]/edit.vue b/frontend/app/pages/dashboard/categories/[id]/edit.vue
index ee210719..a8c07c44 100644
--- a/frontend/app/pages/dashboard/categories/[id]/edit.vue
+++ b/frontend/app/pages/dashboard/categories/[id]/edit.vue
@@ -34,7 +34,7 @@
<label for="color">Color</label>
<AppColorPicker v-model="category.color" name="color" :nullable="true" />
- <div style="display: flex; justify-content: flex-end">
+ <div class="actions-row">
<AppButton type="danger" @click="deleteCategory()">Delete</AppButton>
<AppButton type="primary" class="btn primary" @click="updateCategory">Update</AppButton>
</div>
@@ -75,12 +75,6 @@ label {
margin-top: 10px;
}
-input,
-textarea,
-select {
- width: 100%;
-}
-
.form-row {
display: flex;
flex-wrap: wrap;
@@ -91,4 +85,8 @@ select {
min-width: 200px;
flex: 1;
}
+
+.actions-row {
+ justify-content: flex-end;
+}
</style>