Skip to content
Discussion options

You must be logged in to vote

First sorry for late answering, I was not availble last week. However your code is in general correct, but problem is the original MudBlazor dialog handling overwrites your size. What you can do to solve this is create a css class with height auto as important for the dialog and asign them like you do with MudExAppearance.FromCss("<your_class_name>")

If you need to do it in c# you can do it like this for example

        // Build Temporary Class
        var cls = await MudExStyleBuilder.Default.WithHeight("auto").AsImportant().BuildAsClassRuleAsync("my-class", jsRuntime);

        var parameters = new DialogParameters
        {
            { nameof(MudExMessageDialog.Buttons), MudExDialogR…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fgilde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants