This is probably already addressed somewhere but I didn’t see anything in the documentation and the -Size flag didn’t seem to do the trick.
Is there a way to confine a row to a certain maximum height? I’m trying to line up a few buttons in a row to act as a horizontal navbar for certain content but unable to get something short enough to look good.
I’m not sure how to apply styling to the row or cards if that’s possible.
Here’s the row I’m inserting to the page:
$PageSelector = New-UDLayout -Columns 4 -Content {
New-UDCard -TextAlignment center -Content {
New-UDButton -Text "AD Summary" -OnClick {
Set-UDElement -Id page -Content { $ADSummary }
}
}
New-UDCard -TextAlignment center -Content {
New-UDButton -Text "User Overview" -OnClick {
Set-UDElement -Id page -Content { $UserOverview }
}
}
New-UDCard -TextAlignment center -Content {
New-UDButton -Text "AD Health (Coming Soon!)"
}
New-UDCard -TextAlignment center -Content {
New-UDButton -Text "AD Management (Coming Soon!)"
}
}