Skip to content

Commit 299bde7

Browse files
authored
fix(docs): fix layout of avatar docs (#36)
1 parent 826b615 commit 299bde7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/4.components/avatar.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ In some products, you might need to show a badge on the avatar. We call this a `
9393
The badge is by default on the bottom right corner, but you can change its position by using the prop `position` (`top-start` | `top-end` | `bottom-start` | `bottom-end`)
9494

9595
::showcase
96-
::stack{spacing="2" align="center" direction="row"}
96+
:::stack{spacing="2" align="center" direction="row"}
9797

9898
::avatar{name="Sybren Willemot"}
9999
:avatar-badge{bg="green.500" box-size="1em"}
@@ -111,9 +111,10 @@ The badge is by default on the bottom right corner, but you can change its posit
111111
:avatar-badge{bg="purple.500" box-size="1em" placement="bottom-start"}
112112
::
113113

114-
::
114+
:::
115115
::
116116

117+
117118
```html
118119
<c-avatar name="Jonathan Bakebwa">
119120
<c-avatar-badge bg="red.500" placement="top-start" />
@@ -152,6 +153,7 @@ In some cases, you might need to stack avatars as a group. Use the `CAvatarGroup
152153
::showcase
153154
::avatar-group
154155
::
156+
::
155157

156158
```html
157159
<c-avatar-group max="3" size="lg">

0 commit comments

Comments
 (0)