Skip to content

Build your personal knowledge base with Trilium Notes

fix top margin of images and tables which can obscure their handles

zadam4f27254e6421
diff --git a/src/public/app/widgets/type_widgets/editable_text.js b/src/public/app/widgets/type_widgets/editable_text.js
index 12999e3362..c3d328312d 100644
--- a/src/public/app/widgets/type_widgets/editable_text.js
+++ b/src/public/app/widgets/type_widgets/editable_text.js
@@ -38,7 +38,7 @@ const TPL = `
cursor: text !important;
}
- .note-detail-editable-text *:first-child {
+ .note-detail-editable-text *:not(figure):first-child {
margin-top: 0 !important;
}