From 8cb4403f02e053a7d42ebeba6c60122ed01a9e3b Mon Sep 17 00:00:00 2001 From: Ben White Date: Mon, 11 Sep 2023 14:40:10 +0200 Subject: [PATCH] fix: Styles for clicking bottom of notebook --- frontend/src/scenes/notebooks/Notebook/Notebook.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/scenes/notebooks/Notebook/Notebook.scss b/frontend/src/scenes/notebooks/Notebook/Notebook.scss index 9b257616c581a..58f2852c22991 100644 --- a/frontend/src/scenes/notebooks/Notebook/Notebook.scss +++ b/frontend/src/scenes/notebooks/Notebook/Notebook.scss @@ -1,4 +1,8 @@ .Notebook { + flex: 1; + display: flex; + flex-direction: column; + .NotebookEditor { flex: 1; width: 100%; @@ -103,9 +107,10 @@ } &--editable { - .NotebookEditor { + .NotebookEditor .ProseMirror { // Add some padding to help clicking below the last element padding-bottom: 10rem; + flex: 1; } }