From f283352833bcad6eede3530a99fd4bf1a3f92b04 Mon Sep 17 00:00:00 2001 From: KhadishaKenzhebekkyzy Date: Thu, 31 Mar 2022 08:59:22 +0600 Subject: [PATCH 1/2] solved the problem of multiple scroll bars in js frontend/backend --- src/public/app/widgets/note_detail.js | 2 +- src/public/app/widgets/type_widgets/editable_code.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/app/widgets/note_detail.js b/src/public/app/widgets/note_detail.js index dea6665150..371c9f1456 100644 --- a/src/public/app/widgets/note_detail.js +++ b/src/public/app/widgets/note_detail.js @@ -32,7 +32,7 @@ const TPL = ` } .note-detail.full-height { - height: 100%; + height: calc(100% - 3em); } diff --git a/src/public/app/widgets/type_widgets/editable_code.js b/src/public/app/widgets/type_widgets/editable_code.js index 605d0db2ba..09b0ad181b 100644 --- a/src/public/app/widgets/type_widgets/editable_code.js +++ b/src/public/app/widgets/type_widgets/editable_code.js @@ -24,7 +24,7 @@ const TPL = `
-
+