From 4f27254e6421e170a695587ad082b25cbfaa1e70 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 25 Dec 2020 13:01:35 +0100 Subject: [PATCH] fix top margin of images and tables which can obscure their handles --- src/public/app/widgets/type_widgets/editable_text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/type_widgets/editable_text.js b/src/public/app/widgets/type_widgets/editable_text.js index 12999e336..c3d328312 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; }