Hi,
is there a way to change the position of a modal?
I tried
New-UDFloatingActionButton -OnClick {
New-UDStyle -Style '
position: fixed !important;
top: 50px !important;
right: 10px !important;
' -Content {
Show-UDModal -Content {
New-UDTypography -Text 'hello world'
}
}
}
and
New-UDFloatingActionButton -OnClick {
New-UDElement -Tag 'div' -Content {
Show-UDModal -Content {
New-UDTypography -Text 'hello world'
}
} -Attributes @{
style = @{
position = 'fixed'
top = '2px'
right = '10px'
}
}
}
but no luck, its still in the center.
Product: PowerShell Universal
Version: 2.5.5