Skip to content

Commit

Permalink
fix: allow colored avatar border respect the host border radius (#289) (
Browse files Browse the repository at this point in the history
#290)

Co-authored-by: Jouni Koivuviita <[email protected]>
  • Loading branch information
vaadin-bot and jouni authored Apr 29, 2021
1 parent 7bd9ec2 commit c3f6051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vaadin-avatar/src/vaadin-avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class AvatarElement extends ElementMixin(ThemableMixin(PolymerElement)) {
left: 0;
bottom: 0;
right: 0;
border-radius: 50%;
border-radius: inherit;
box-shadow: inset 0 0 0 2px var(--vaadin-avatar-user-color);
}
</style>
Expand Down

0 comments on commit c3f6051

Please sign in to comment.