From b5f37bc10fa496ae7beeef8886c56327dc735c03 Mon Sep 17 00:00:00 2001 From: Pouya Saadeghi Date: Sat, 22 May 2021 02:08:48 +0430 Subject: [PATCH] feat: add avatar-group component --- src/components/styled/avatar.css | 6 +++++ src/docs/pages/components/avatar.vue | 40 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/src/components/styled/avatar.css b/src/components/styled/avatar.css index 938cc46a7f9..119b301f6da 100644 --- a/src/components/styled/avatar.css +++ b/src/components/styled/avatar.css @@ -16,3 +16,9 @@ } } } +.avatar-group{ + @apply flex overflow-hidden; + .avatar{ + @apply rounded-full border-4 border-base-100 overflow-hidden; + } +} \ No newline at end of file diff --git a/src/docs/pages/components/avatar.vue b/src/docs/pages/components/avatar.vue index d41612ec3a0..d384289d566 100644 --- a/src/docs/pages/components/avatar.vue +++ b/src/docs/pages/components/avatar.vue @@ -15,6 +15,46 @@ + +
+ + + + + + + + + + + + +
+
+ + +
+ + + + + + + + + + + + +
+
+ +99 +
+
+
+
+ +