Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,11 @@
</Modal>
</div>
<form class="form">
<Label>Custom data <span class="u-color-text-gray">(Optional)</span></Label>
<FormItem>
<Label
tooltip="Deliver supplementary data alongside the notification, which remains hidden from the user's view but can be accessed by your application."
>Custom data <span class="u-color-text-gray">(Optional)</span></Label>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Label component has an optionalText variable that we can use for the (Optional) text instead of using the span :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I switched to using optionalText the spacing between the text seemed too big. That means we need to change the margin, right?

image

</FormItem>
<div class=" u-grid u-gap-8">
<ul class="form-list" style="--p-form-list-gap: 1rem">
{#each customData || [] as _, rowIndex}
Expand Down