From 3d32693b10898fe887dd89a637681649e3959392 Mon Sep 17 00:00:00 2001 From: Adam DeHaven Date: Sun, 7 Jan 2024 11:08:34 -0500 Subject: [PATCH] fix: min height --- sandbox/App.vue | 4 +--- src/components/MarkdownUi.vue | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/sandbox/App.vue b/sandbox/App.vue index 40d2dfca..13d096ce 100644 --- a/sandbox/App.vue +++ b/sandbox/App.vue @@ -7,7 +7,7 @@ (true) - // eslint-disable-next-line @typescript-eslint/no-unused-vars const contentUpdated = (markdown: string) => { console.log('content updated') diff --git a/src/components/MarkdownUi.vue b/src/components/MarkdownUi.vue index 87d438b1..33defa22 100644 --- a/src/components/MarkdownUi.vue +++ b/src/components/MarkdownUi.vue @@ -82,7 +82,7 @@ >
`${props.maxHeight}px`) .markdown-preview { background-color: var(--kui-color-background, $kui-color-background); box-sizing: border-box; // Ensure the padding is calculated in the element's width + min-height: v-bind('TOOLBAR_HEIGHT'); position: relative; .content-buttons {