app/components/coco/shared/avatar/avatar.css in coveragebook_components-0.11.0 vs app/components/coco/shared/avatar/avatar.css in coveragebook_components-0.12.0
- old
+ new
@@ -1,8 +1,8 @@
@layer components {
[data-coco][data-component="avatar"] {
- @apply block rounded-full overflow-hidden flex-none;
+ @apply block rounded-full overflow-hidden flex-none aspect-square;
img {
@apply w-full rounded-full;
}
@@ -18,8 +18,12 @@
@apply w-7 h-7;
}
&[data-size="xl"] {
@apply w-8 h-8;
+ }
+
+ &[data-size="full"] {
+ @apply w-full h-full;
}
}
}