Skip to content

Commit

Permalink
fix(cc-icon): force svg size to resolve safari 15 issue
Browse files Browse the repository at this point in the history
Fixes #681
  • Loading branch information
florian-sanders-cc authored and hsablonniere committed Jan 9, 2023
1 parent 80a137a commit 6ca44c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/cc-icon/cc-icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,11 @@ export class CcIcon extends LitElement {
}
svg {
width: 100%;
height: 100%;
fill: var(--cc-icon-color, currentColor);
}
.skeleton {
width: var(--size, 1em);
height: var(--size, 1em);
Expand Down

0 comments on commit 6ca44c1

Please sign in to comment.