Skip to content

Commit

Permalink
fix(block-section): apply missing CSS class to start/end icon (#9688)
Browse files Browse the repository at this point in the history
**Related Issue:** #9703

## Summary

Updates icon rendering to use class instead of value for styling.
  • Loading branch information
jcfranco authored Jul 1, 2024
1 parent 6300873 commit bceeab5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ export class BlockSection implements LocalizedComponent, T9nComponent, LoadableC
/** Icon scale is not variable as the component does not have a scale property */
return (
<calcite-icon
class={isIconStart ? this.iconStart : this.iconEnd}
class={isIconStart ? CSS.iconStart : CSS.iconEnd}
flipRtl={isIconStart ? flipRtlStart : flipRtlEnd}
icon={isIconStart ? this.iconStart : this.iconEnd}
key={isIconStart ? CSS.iconStart : CSS.iconEnd}
key={isIconStart ? this.iconStart : this.iconEnd}
scale="s"
/>
);
Expand Down

0 comments on commit bceeab5

Please sign in to comment.