From 17f9caad3cb01d9d51e44b844c5f40790a558971 Mon Sep 17 00:00:00 2001 From: el-makarova Date: Thu, 28 Dec 2023 10:08:52 +0300 Subject: [PATCH] fix(Disclosure): component size should not be used for its content --- src/components/Disclosure/Disclosure.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Disclosure/Disclosure.scss b/src/components/Disclosure/Disclosure.scss index 5778d60df7..313b53b35b 100644 --- a/src/components/Disclosure/Disclosure.scss +++ b/src/components/Disclosure/Disclosure.scss @@ -5,13 +5,13 @@ $block: '.#{variables.$ns-new}disclosure'; $gap: 8px; #{$block} { - &_size_m { + &_size_m &__trigger { @include mixins.text-body-1(); } - &_size_l { + &_size_l &__trigger { @include mixins.text-body-2(); } - &_size_xl { + &_size_xl &__trigger { @include mixins.text-subheader-3(); } &__trigger {