@hashrytech/quick-components-kit 0.20.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
{#if open}
|
|
43
43
|
<div transition:fly={{ delay: toastOptions.transitionDelay, duration: toastOptions.transitionDuration, y: toastOptions.transitionY, easing: toastOptions.transitionEasing }} class="flex flex-row rounded-lg mt-2 py-0.5 h-full min-h-[4rem] shadow-lg w-full max-w-md ring-1
|
|
44
44
|
border-none pointer-events-auto text-neutral-700 {toastTypeClasses[toastType]}">
|
|
45
|
-
<div class="flex flex-row gap-4 items-center w-full justify-center rounded-sm
|
|
45
|
+
<div class="flex flex-row gap-4 items-center w-full justify-center rounded-sm px-4">
|
|
46
46
|
|
|
47
47
|
<div class="flex flex-row items-center justify-center">
|
|
48
48
|
<span class="{toastIcons[toastType]} {toastTypeIconColours[toastType]} size-8 outline-hidden"></span>
|
|
49
49
|
</div>
|
|
50
50
|
|
|
51
|
-
<div class="flex flex-col gap-1
|
|
52
|
-
<p class="text-sm font-medium break-
|
|
51
|
+
<div class="flex flex-col gap-1 rounded-sm py-2 flex-1 min-w-0">
|
|
52
|
+
<p class="text-sm font-medium break-words overflow-wrap-anywhere hyphens-auto">{@html message}</p>
|
|
53
53
|
{#if subMessage}
|
|
54
|
-
<p class="text-xs font-light break-
|
|
54
|
+
<p class="text-xs font-light break-words whitespace-normal hyphens-auto">{@html subMessage}</p>
|
|
55
55
|
{/if}
|
|
56
56
|
</div>
|
|
57
57
|
|