Skip to content

Commit f1377a5

Browse files
committed
docs(activity-indicator): update svelte examples
1 parent ee0cf26 commit f1377a5

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

packages/stacks-svelte/src/components/ActivityIndicator/ActivityIndicator.stories.svelte

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,15 @@
178178
>
179179
<div class="ps-relative">
180180
<Icon src={IconNotification} />
181-
<ActivityIndicator
182-
label="New notifications"
183-
variant="danger"
184-
content="1"
185-
class="ps-absolute tn8 rn16 ba baw2 bc-white box-content"
186-
/>
181+
<div
182+
class="ps-absolute ba baw2 bc-white bar-pill lh-xs tn8 rn8"
183+
>
184+
<ActivityIndicator
185+
label="New notifications"
186+
variant="danger"
187+
content="1"
188+
/>
189+
</div>
187190
</div>
188191
</Button>
189192
<Button
@@ -193,12 +196,15 @@
193196
>
194197
<div class="ps-relative">
195198
<Icon src={IconNotification} />
196-
<ActivityIndicator
197-
label="New notifications"
198-
variant="danger"
199-
content="99"
200-
class="ps-absolute tn8 rn16 ba baw2 bc-white box-content"
201-
/>
199+
<div
200+
class="ps-absolute ba baw2 bc-white bar-pill lh-xs tn8 rn8"
201+
>
202+
<ActivityIndicator
203+
label="New notifications"
204+
variant="danger"
205+
content="99"
206+
/>
207+
</div>
202208
</div>
203209
</Button>
204210
</td>

0 commit comments

Comments
 (0)