Skip to content

Build your personal knowledge base with Trilium Notes

style/attribute detail dialog: fix stretched close button

Adorian Doran6f51c5e0ccea
diff --git a/apps/client/src/widgets/attribute_widgets/attribute_detail.ts b/apps/client/src/widgets/attribute_widgets/attribute_detail.ts
index 9b66aa6f9f..ba60e8678d 100644
--- a/apps/client/src/widgets/attribute_widgets/attribute_detail.ts
+++ b/apps/client/src/widgets/attribute_widgets/attribute_detail.ts
@@ -78,7 +78,7 @@ const TPL = /*html*/`
}
</style>
- <div style="display: flex; justify-content: space-between; margin-bottom: 8px;">
+ <div style="display: flex; justify-content: space-between; align-items: start; margin-bottom: 8px;">
<h5 class="attr-detail-title">${t("attribute_detail.attr_detail_title")}</h5>
<span class="bx bx-x close-attr-detail-button tn-tool-button" title="${t("attribute_detail.close_button_title")}"></span>