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:
414nx
2025-10-17 12:07:45 -06:00
parent d98e18b51f
commit 6841b38eac

View File

@@ -265,7 +265,7 @@
<h3 id="alert-title" class="text-xl font-bold text-white mb-2">
Alert
</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.
</p>
<button