From b81e310e285ece7b72554bfc912151d95bc8b9ff Mon Sep 17 00:00:00 2001 From: Shivam Agarwal <47965724+im-shiv@users.noreply.github.com> Date: Tue, 25 Nov 2025 10:01:38 +0530 Subject: [PATCH] FORMS-21912: Restrict CSS to first child to handle RTE paragraph generation --- src/components/container/_container.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/container/_container.scss b/src/components/container/_container.scss index 049a70a..cd89284 100644 --- a/src/components/container/_container.scss +++ b/src/components/container/_container.scss @@ -5,6 +5,9 @@ padding-bottom: $space-l; box-sizing: border-box; width: 100%; + label > p:first-child, span > p:first-child { + display: inline; + } padding: $space-s; padding-inline: 20%; @media(max-width: 768px) { @@ -25,4 +28,4 @@ cursor: wait; z-index: 100000; } -} \ No newline at end of file +}