From 2813440a7e450291bd0d23e1cccb6cf7b1f50722 Mon Sep 17 00:00:00 2001 From: Kyle Shike Date: Thu, 28 Dec 2023 16:30:32 -0500 Subject: [PATCH] adds max height to template variable popup --- src/RichTextEditor/TemplateVariable.scss | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/RichTextEditor/TemplateVariable.scss b/src/RichTextEditor/TemplateVariable.scss index 19a14372..cf25e235 100644 --- a/src/RichTextEditor/TemplateVariable.scss +++ b/src/RichTextEditor/TemplateVariable.scss @@ -1,21 +1,23 @@ @import '../../scss/theme'; .RichTextEditor__TemplateVariables__Items { - border: 1px solid $synth-div-stroke-neutral; background-color: $ux-white; border-radius: $ux-border-radius; + border: 1px solid $synth-div-stroke-neutral; + max-height: 200px; + overflow: auto; padding: $ux-spacing-20 0; } .RichTextEditor__TemplateVariables__Item { @include synth-font-type-30; background: $ux-white; - text-align: left; - width: 100%; border: 0; - outline: 0; color: $ux-gray-900; + outline: 0; padding: $ux-spacing-10 $ux-spacing-40; + text-align: left; + width: 100%; } .RichTextEditor__TemplateVariables__Item:active,