From bca695533ac5b77e198fd7bddf13ef79fcd79154 Mon Sep 17 00:00:00 2001 From: Aswath K Date: Fri, 28 Apr 2023 11:47:04 +0530 Subject: [PATCH] fix: Text widget's background truncation (#22597) Text widget's background color was not getting applied to the entire widget's bounding box --- app/client/src/widgets/TextWidget/component/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/client/src/widgets/TextWidget/component/index.tsx b/app/client/src/widgets/TextWidget/component/index.tsx index aa28a69ed0..46ccd5fed9 100644 --- a/app/client/src/widgets/TextWidget/component/index.tsx +++ b/app/client/src/widgets/TextWidget/component/index.tsx @@ -145,6 +145,9 @@ export const StyledText = styled(Text)` white-space: pre-wrap; text-align: ${(props) => props.textAlign.toLowerCase()}; } + .auto-layout & span { + min-height: 32px; + } `; const ModalContent = styled.div<{