From b449599ca0be8aca03209d5c12cb112739543b24 Mon Sep 17 00:00:00 2001 From: Adam DeHaven Date: Mon, 18 Mar 2024 12:56:38 -0400 Subject: [PATCH] fix: preview min-height --- src/components/MarkdownUi.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MarkdownUi.vue b/src/components/MarkdownUi.vue index 6fdd8050..b0556d0d 100644 --- a/src/components/MarkdownUi.vue +++ b/src/components/MarkdownUi.vue @@ -683,7 +683,7 @@ const markdownPanesMaxHeight = computed((): string => `${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'); + min-height: calc(v-bind('TOOLBAR_HEIGHT') + 4px); position: relative; @media (min-width: $kui-breakpoint-phablet) {