Skip to content

Commit

Permalink
Add style to Linktree icon
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptex committed Oct 21, 2021
1 parent 0db1d98 commit 9c5b2a3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions data/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ li svg {
.svg-npm,
.svg-codepen,
.svg-youtube,
.svg-linktree,
.svg-codersrank,
.svg-google-plus,
.svg-stackoverflow {
Expand Down Expand Up @@ -79,3 +80,7 @@ li svg {
.svg-codersrank {
width: 2.5rem;
}

.svg-linktree {
width: 1.75rem;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scriptex-socials",
"version": "1.5.0",
"version": "1.5.1",
"description": "A native web component: links to various social media with SVG icons support",
"scripts": {
"svgo": "svgo -f static/images/svg",
Expand Down
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ li svg {
.svg-npm,
.svg-codepen,
.svg-youtube,
.svg-linktree,
.svg-codersrank,
.svg-google-plus,
.svg-stackoverflow {
Expand Down Expand Up @@ -175,6 +176,10 @@ li svg {
.svg-codersrank {
width: 2.5rem;
}
.svg-linktree {
width: 1.75rem;
}
`;

shadowRoot.appendChild(this.styleEl.cloneNode(true));
Expand Down

0 comments on commit 9c5b2a3

Please sign in to comment.