From a8fdd8541ec7860297d37425934b0f9590e3304a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 5 May 2021 10:44:50 +0200 Subject: [PATCH] adjust font-size with size on Avatar component --- packages/bbui/src/Avatar/Avatar.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/bbui/src/Avatar/Avatar.svelte b/packages/bbui/src/Avatar/Avatar.svelte index be8172b05d..9a69a94834 100644 --- a/packages/bbui/src/Avatar/Avatar.svelte +++ b/packages/bbui/src/Avatar/Avatar.svelte @@ -24,7 +24,11 @@ style="width: var({sizes.get(size)}); height: var({sizes.get(size)});" /> {:else} -
+
{initials}
{/if} @@ -42,5 +46,6 @@ rgba(53, 199, 86, 1) 47% ); border-radius: 50%; + overflow: hidden; }