Skip to content

Commit 454ae61

Browse files
committed
Fix overlapping close icon in traditional alert example
1 parent 71b88a8 commit 454ae61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/docs/examples/alerts.blade.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ title: "Alerts"
2323

2424
@component('_partials.code-sample', ['lang' => 'html'])
2525
<div class="bg-red-lightest border border-red-light text-red-dark px-4 py-3 rounded relative">
26-
<strong class="font-bold">Holy smokes!</strong> Something seriously bad happened.
26+
<strong class="font-bold">Holy smokes!</strong>
27+
<span class="block sm:inline">Something seriously bad happened.</span>
2728
<span class="absolute pin-t pin-b pin-r px-4 py-3">
2829
<svg class="h-6 w-6 text-red" role="button" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M14.348 14.849a1.2 1.2 0 0 1-1.697 0L10 11.819l-2.651 3.029a1.2 1.2 0 1 1-1.697-1.697l2.758-3.15-2.759-3.152a1.2 1.2 0 1 1 1.697-1.697L10 8.183l2.651-3.031a1.2 1.2 0 1 1 1.697 1.697l-2.758 3.152 2.758 3.15a1.2 1.2 0 0 1 0 1.698z"/></svg>
2930
</span>

0 commit comments

Comments
 (0)