Skip to content

Commit

Permalink
fix(navigation-logo): no longer changes icon color when href is par…
Browse files Browse the repository at this point in the history
…sed (#8830)

**Related Issue:** #8482 

## Summary

Fixes change of icon color in `navigation-logo` when `href` attribute is
parsed.
  • Loading branch information
anveshmekala committed Feb 23, 2024
1 parent 75dba9b commit 16d456f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
focus-base
no-underline
text-0h;
color: inherit;
border-block-end: 2px solid transparent;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,17 @@ export const slottedInNav_TestOnly = (): string => html`
/>
</calcite-navigation>
`;

export const withHref_TestOnly = (): string => html`
<calcite-navigation>
<calcite-navigation-logo
slot="logo"
heading="A view of the estuary"
icon="globe"
href="https://www.esri.com"
target="_blank"
description="20 years of change where the river meets the sea"
>
</calcite-navigation-logo>
</calcite-navigation>
`;

0 comments on commit 16d456f

Please sign in to comment.