Skip to content

Commit

Permalink
style(avatar): multi-line css
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkolind committed May 9, 2024
1 parent 6b063f0 commit 66e2f31
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/avatar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ const Avatar: Component = {
}

return div('', {
style: `background-image: url(${src}); width: 50px; height: 50px; border-radius: 50px;`,
style: `
background-image: url(${src});
width: 50px;
height: 50px;
border-radius: 50px;
`,
});
},
};
Expand Down

0 comments on commit 66e2f31

Please sign in to comment.