From a345b5694f42a25b669ca4fb7bf7ebed4c17bd3e Mon Sep 17 00:00:00 2001 From: Jovan Ssebaggala Date: Thu, 4 Jul 2024 03:07:21 +0300 Subject: [PATCH] (fix) O3-3532: Fix broken UI on collapsing and reopening form sections (#341) --- src/components/page/form-page.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/page/form-page.scss b/src/components/page/form-page.scss index 3a1c2d7f7..06a0f8a61 100644 --- a/src/components/page/form-page.scss +++ b/src/components/page/form-page.scss @@ -56,6 +56,11 @@ background-color: colors.$gray-10; } +// TODO: try removing this when upgrading @carbon/react. Added at 1.37 +:global(.cds--accordion__wrapper) { + max-block-size: unset !important; +} + @media (min-width: 640px) { :global(.cds--accordion__content) { padding-right: 2rem !important;