mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Fix several descriptions on the avatars preview page (#3003)
Co-authored-by: Bartek <xbartoszdobija@gmail.com>
This commit is contained in:
1 parent
718fdd7a72
commit
4ddc9e9a34
2 files changed
+7
-2
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/preview": patch
|
||||
---
|
||||
|
||||
Updated the avatar list and brand card descriptions on the avatars preview page.
|
||||
@@ -119,7 +119,7 @@ const brands = ['netflix', 'amazon', 'messenger', 'figma', 'twitch']
|
||||
<Card>
|
||||
<CardBody>
|
||||
<CardTitle>Avatar lists</CardTitle>
|
||||
<CardSubtitle>Stack avatars with <code><AvatarList></code> to show a group at a glance.</CardSubtitle>
|
||||
<CardSubtitle>Stack avatars inside an <code>.avatar-list</code> container to show a group at a glance.</CardSubtitle>
|
||||
<div class="row g-3">
|
||||
{
|
||||
listSizes.map((size) => (
|
||||
@@ -169,7 +169,7 @@ const brands = ['netflix', 'amazon', 'messenger', 'figma', 'twitch']
|
||||
<Card>
|
||||
<CardBody>
|
||||
<CardTitle>Avatar brands</CardTitle>
|
||||
<CardSubtitle>Show a recognizable brand icon instead of a person.</CardSubtitle>
|
||||
<CardSubtitle>Add a recognizable brand icon on top of an avatar.</CardSubtitle>
|
||||
{brands.map((brand, i) => <Avatar person={personById(i + 1)} brand={brand} />)}
|
||||
</CardBody>
|
||||
</Card>
|
||||
|
||||
Reference in new issue
Block a user