mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 17:40:09 +00:00
Fix execution error message overflowing out of screen (#3762)
This commit is contained in:
@@ -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
|
||||
}>()
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user