feat(notification::microsoft::office365::teams): Mode(alert) - Allow to wrap long text (#5739)

Refs: CTOR-1905
This commit is contained in:
itoussies 2025-09-10 10:11:06 +02:00 committed by GitHub
parent ddbf4b6bb5
commit 3f2d2a22af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -363,7 +363,8 @@ sub build_workflow_message {
"size" => "Large",
"weight" => "Bolder",
"style" => "heading",
"color" => $themecolor
"color" => $themecolor,
"wrap" => "true"
};
push @{$self->{body}}, {
type => "TextBlock",
@ -371,7 +372,8 @@ sub build_workflow_message {
"size" => "Medium",
"weight" => "Bolder",
"style" => "heading",
"color" => $themecolor
"color" => $themecolor,
"wrap" => "true"
};
if (defined($self->{option_results}->{$resource_type . '_output'}) && $self->{option_results}->{$resource_type . '_output'} ne '') {