OnRowExpand Resize

Hello,

I’m using a New-UDTable with -OnRowExpand. The cards that I’m displaying inside the OnRowExpand will not dynamically resize… Is there any way to get them to resize?

Example code:

New-UDRow{
    New-UDCard -Title "MyMainCard" -Content{
        New-UDDynamic -Id 'MyDynamicID' -Content{
            $Data = @(
                @{Dessert = 'Frozen yoghurt'; Calories = 159; Fat = 6.0; Carbs = 24; Protein = 4.0}
                @{Dessert = 'Ice cream sandwich'; Calories = 159; Fat = 6.0; Carbs = 24; Protein = 4.0}
                @{Dessert = 'Eclair'; Calories = 159; Fat = 6.0; Carbs = 24; Protein = 4.0}
                @{Dessert = 'Cupcake'; Calories = 159; Fat = 6.0; Carbs = 24; Protein = 4.0}
                @{Dessert = 'Gingerbread'; Calories = 159; Fat = 6.0; Carbs = 24; Protein = 4.0}                    
                ) 

            New-UDTable -Data $Data -OnRowExpand{                                    
                    New-UDPaper -Content{
                    New-UDRow{
                        New-UDColumn -LargeSize 6 -Content {
                            New-UDCard -Content{
                                New-UDParagraph -Text "12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 Very long text that will not resize inside the rowexpanded card"

                            }
                            New-UDCard -Content{
                                New-UDParagraph -Text "12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 Very long text that will not resize inside the rowexpanded card"

                            }
                        }#End Left Column
                    }#End Row
                }#End Paper
            } #End Rowexpand          
        }
    }
}

The intended purpose of the table (barring the example data) will be to display information about specialized computers, and the cards will hold specific information, like: hardware,software,manufacturer (using $EventData).

Thanks,

Product: PowerShell Universal
Version: 3.6.4

Solved it by placing the text inside New-UDHtml , and using the <pre> tag.