From 2e57b76df01acf7ed1ce5fcb824ef5f96d11621d Mon Sep 17 00:00:00 2001 From: Jarrod Flesch Date: Fri, 18 Nov 2022 16:11:32 -0500 Subject: [PATCH] fix: adjusts styles to allow error bg to fill textarea --- src/admin/components/forms/field-types/Textarea/index.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/admin/components/forms/field-types/Textarea/index.scss b/src/admin/components/forms/field-types/Textarea/index.scss index 08eba77130..fbbc8c0821 100644 --- a/src/admin/components/forms/field-types/Textarea/index.scss +++ b/src/admin/components/forms/field-types/Textarea/index.scss @@ -6,13 +6,13 @@ .textarea-outer { @include formInput(); - display: block; + display: flex; resize: vertical; - height: auto; min-height: base(3); + height: 100%; // Scrollbar for giant content - max-height: 90vh; + max-height: calc(100vh - $top-header-offset - calc(#{base(5)})); overflow: auto; @include mid-break {