Skip to content

Commit

Permalink
fix(link-with-icon): keep flex container for left side icon placement
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Aug 5, 2021
1 parent c6e6711 commit 2e999ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class DDSLinkWithIcon extends StableSelectorMixin(BXLink) {
iconPlacement === ICON_PLACEMENT.RIGHT
);

if (iconInline) {
if (iconInline && iconPlacement === ICON_PLACEMENT.RIGHT) {
linkNode.classList.add(`${prefix}--link-with-icon--inline-icon`);
}
}
Expand Down

0 comments on commit 2e999ae

Please sign in to comment.