From 5f39ec54eebe285929af6674cea0146959ec3d36 Mon Sep 17 00:00:00 2001 From: ariellalgilmore Date: Tue, 5 Dec 2023 11:45:17 -0800 Subject: [PATCH] fix(web-component): issues with new style update --- .../styles/scss/components/filter-panel/_filter-panel.scss | 7 +++++++ .../scss/components/horizontal-rule/_horizontal-rule.scss | 1 + 2 files changed, 8 insertions(+) diff --git a/packages/styles/scss/components/filter-panel/_filter-panel.scss b/packages/styles/scss/components/filter-panel/_filter-panel.scss index 522309f892b..83fc3460329 100644 --- a/packages/styles/scss/components/filter-panel/_filter-panel.scss +++ b/packages/styles/scss/components/filter-panel/_filter-panel.scss @@ -253,6 +253,13 @@ border-top: 1px solid $layer-accent-01; border-bottom: none; + .#{$prefix}--accordion__wrapper { + /* stylelint-disable declaration-no-important */ + // TODO: see if we can remove. Need important to override accordion inline styles. + max-block-size: none !important; + /* stylelint-enable declaration-no-important */ + } + .#{$prefix}--accordion__heading { display: flex; align-items: center; diff --git a/packages/styles/scss/components/horizontal-rule/_horizontal-rule.scss b/packages/styles/scss/components/horizontal-rule/_horizontal-rule.scss index e28b5b6eab8..5f77473e0ed 100644 --- a/packages/styles/scss/components/horizontal-rule/_horizontal-rule.scss +++ b/packages/styles/scss/components/horizontal-rule/_horizontal-rule.scss @@ -8,6 +8,7 @@ @use '@carbon/styles/scss/config' as *; @use '@carbon/styles/scss/spacing' as *; @use '@carbon/styles/scss/utilities' as *; +@use '@carbon/styles/scss/utilities/convert' as *; @use '@carbon/styles/scss/theme' as *; @use '../../globals/vars' as *;