fix: add truncation to error (#9026)

Added truncate to error
This commit is contained in:
Lucas Oliveira 2025-07-14 15:15:29 -03:00 • committed by GitHub
commit 1f6d10430d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ export default function ErrorAlert({
), ),
p({ node, ...props }) { p({ node, ...props }) {
return ( return (
<span className="inline-block w-fit max-w-full align-text-top"> <span className="inline-block w-fit max-w-full align-text-top truncate-multiline">
{props.children} {props.children}
</span> </span>
); );

View file

@ -262,7 +262,7 @@ export default function FlowBuildingComponent() {
), ),
p({ node, ...props }) { p({ node, ...props }) {
return ( return (
<span className="inline-block w-fit max-w-full align-text-top"> <span className="inline-block w-fit max-w-full align-text-top truncate-doubleline">
{props.children} {props.children}
</span> </span>
); );