Popup vievport

  1. Adjust Popup width to viewport
    i want to resonsive popup

Not responsive, but not the default dialog:

protected async System.Threading.Tasks.Task AddButtonClick(MouseEventArgs args)
        {
            await DialogService.OpenAsync<AddTask>("Add Task", 
                null,
                new DialogOptions() { 
                    Width = "70%", 
                    CloseDialogOnOverlayClick = false,
                    Draggable = true,
                    Resizable = true,
                    Style = "min-height: 512px"
                });
            await LoadData();
            await grid0.Reload();
        }

        protected async System.Threading.Tasks.Task EditRow(DataGridRowMouseEventArgs<Simple.Models.SimpleInventory.Task> args)
        {
            await DialogService.OpenAsync<EditTask>("Edit Task", 
                new Dictionary<string, object> { {"Id", args.Data.Id} },
                new DialogOptions() { 
                    Width = "70%", 
                    CloseDialogOnOverlayClick = false,
                    Draggable = true,
                    Resizable = true,
                    Style = "min-height: 512px"
                });
            await LoadData();
        }