Fix execution error message overflowing out of screen (#3762)

This commit is contained in:
Christian Byrne
2025-05-05 06:20:32 -07:00
committed by GitHub
parent b5ae354bec
commit 813bf11484
2 changed files with 3 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
<div class="flex flex-col items-center">
<i :class="icon" style="font-size: 3rem; margin-bottom: 1rem" />
<h3>{{ title }}</h3>
<p class="whitespace-pre-line text-center">
<p :class="textClass" class="whitespace-pre-line text-center">
{{ message }}
</p>
<Button
@@ -29,6 +29,7 @@ const props = defineProps<{
icon?: string
title: string
message: string
textClass?: string
buttonLabel?: string
}>()

View File

@@ -5,6 +5,7 @@
icon="pi pi-exclamation-circle"
:title="title"
:message="error.exceptionMessage"
:text-class="'break-words max-w-[60vw]'"
/>
<template v-if="error.extensionFile">
<span>{{ t('errorDialog.extensionFileHint') }}:</span>