From 510997543307d8ffe37b0cb49223f47b9ecfc261 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 3 Feb 2022 10:46:41 +0000 Subject: [PATCH] Update rich text field height to be set dynamically --- .../bbui/src/Markdown/MarkdownEditor.svelte | 29 +++++++++---------- .../bbui/src/Markdown/MarkdownViewer.svelte | 11 ++++--- .../components/app/forms/LongFormField.svelte | 25 ++++++++++++++++ 3 files changed, 44 insertions(+), 21 deletions(-) diff --git a/packages/bbui/src/Markdown/MarkdownEditor.svelte b/packages/bbui/src/Markdown/MarkdownEditor.svelte index 0b5811db0d..498fce614e 100644 --- a/packages/bbui/src/Markdown/MarkdownEditor.svelte +++ b/packages/bbui/src/Markdown/MarkdownEditor.svelte @@ -1,6 +1,6 @@ - +{#key height} + +{/key} diff --git a/packages/bbui/src/Markdown/MarkdownViewer.svelte b/packages/bbui/src/Markdown/MarkdownViewer.svelte index ae9213cca7..5705020f45 100644 --- a/packages/bbui/src/Markdown/MarkdownViewer.svelte +++ b/packages/bbui/src/Markdown/MarkdownViewer.svelte @@ -1,6 +1,5 @@
diff --git a/packages/client/src/components/app/forms/LongFormField.svelte b/packages/client/src/components/app/forms/LongFormField.svelte index 78f0d7c805..645ec0a581 100644 --- a/packages/client/src/components/app/forms/LongFormField.svelte +++ b/packages/client/src/components/app/forms/LongFormField.svelte @@ -1,4 +1,6 @@ {/if}