Easy way to override ud-card height for a single card?

I know you can specify css attributes in your theme like

UDCard              = @{
        BackgroundColor = "#F7F7F7"
        FontColor       = "#2C2C2C"
    }

But what if you only want to change a single card’s height, for example? I tried wrapping the card in a div and specifying attributes, but couldn’t get it to work.

You could probably use UDStyle to do this because it applies the CSS classes directly to it’s children rather than the entire page. I don’t know the style off the top of my head to achieve this though.

That works!

For reference:

New-UDStyle -Style '
            .card {
            min-height: 500px !important;
            }' -Content { }

Hey question… Is this a 3.0 thing? dont see the cmdlet available in 2.9 enterprise?

Hey there. UDStyle is a universal dashboard component available on the PowerShell gallery. You download and use it like any other module.

Awesomeness, going to give this a shot… thanks!