Skip to content

Commit 8676350

Browse files
authored
Replace description paragraph with a div element
Fixes #50 and enables the use of paragraphs (e.g. rendering markdown) within the description of the alert.
1 parent d30b0ca commit 8676350

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/components/simple-alert.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
</p>
3939
@endif
4040
@if($getDescription())
41-
<p class="text-sm text-custom-700 dark:text-white">
41+
<div class="block text-sm text-custom-700 dark:text-white">
4242
{{ $getDescription() }}
43-
</p>
43+
</div>
4444
@endif
4545
</div>
4646
@endif

0 commit comments

Comments
 (0)