add whitespace-pre-line to div id=alert-message so that \n can be used for line breaks in alert messages
This commit is contained in:
@@ -265,7 +265,7 @@
|
|||||||
<h3 id="alert-title" class="text-xl font-bold text-white mb-2">
|
<h3 id="alert-title" class="text-xl font-bold text-white mb-2">
|
||||||
Alert
|
Alert
|
||||||
</h3>
|
</h3>
|
||||||
<p id="alert-message" class="text-gray-300 mb-6">
|
<p id="alert-message" class="text-gray-300 mb-6 whitespace-pre-line">
|
||||||
This is an alert message.
|
This is an alert message.
|
||||||
</p>
|
</p>
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user