Answer the question
In order to leave comments, you need to log in
How to change width of md2-dialog?
There is a code.
<md2-dialog #edit_user_info >
<span md-prefix>Имя: </span><br>
<md-input placeholder="{{name}}" style="width: 80%"></md-input>
</md2-dialog>
Answer the question
In order to leave comments, you need to log in
In the properties you can set the width and height
let option: MdDialogConfig = new MdDialogConfig();//MdDialogConfig - это свойство
option.height = '500px';
option.width = '500px';
let dialogRef = this.dialog.open(ManagerComponent, option); // ManagerComponent - это компонента, которую
//открываем
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question