From 85373bfdb06cfeba590b6d0d2af681fe3cdc1d1c Mon Sep 17 00:00:00 2001 From: Minh Nhut Date: Mon, 27 Sep 2021 10:21:26 +0900 Subject: [PATCH] Fix remove enforced border-radius --- src/Avatar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avatar.vue b/src/Avatar.vue index 82d6130..3ae6d73 100644 --- a/src/Avatar.vue +++ b/src/Avatar.vue @@ -106,7 +106,7 @@ export default { display: this.inline ? 'inline-flex' : 'flex', width: `${this.size}px`, height: `${this.size}px`, - borderRadius: this.rounded ? '50%' : 0, + borderRadius: this.rounded ? '50%' : undefined, lineHeight: `${(this.size + Math.floor(this.size / 20))}px`, fontWeight: 'bold', alignItems: 'center',