Define max page-width

avatar
(anonymous user)

How can I define a max page width? I tried several things like:

$theme = @{
    overrides = @{
        MuiGrid = @{
            root = @{
                maxwidth = '1600px'
            }
        }
    }
}


Probably a very simple question. Hope somebody can help me.

Product: PowerShell Universal
Version: 1.4.6


All Comments (1)

avatar

im doing like that:

$root_max_width_style = ' .MuiContainer-root { max-width: 1400px;}'


and then

New-UDPage -Name 'Active Directory' -Url '/' -DefaultHomePage  -Content {
    New-UDStyle -Style $root_max_width_style -Content {}
}