Make \n correctly displayed on error message (#805)

This commit is contained in:
Chenlei Hu
2024-09-13 09:04:21 +09:00
committed by GitHub
parent 1230d92b37
commit 7d3b8dc44c

View File

@@ -5,7 +5,7 @@
<div class="flex flex-col items-center">
<i :class="icon" style="font-size: 3rem; margin-bottom: 1rem"></i>
<h3>{{ title }}</h3>
<p>{{ message }}</p>
<p class="whitespace-pre-line text-center">{{ message }}</p>
<Button
v-if="buttonLabel"
:label="buttonLabel"