Skip to content

Commit

Permalink
fix(Disclosure): component size should not be used for its content
Browse files Browse the repository at this point in the history
  • Loading branch information
Raubzeug committed Dec 28, 2023
1 parent 4f0f099 commit 17f9caa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Disclosure/Disclosure.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 17f9caa

Please sign in to comment.