我有一个垫子对话框,它似乎并没有扩大容器的宽度。
<div mat-dialog-title class="blue-gradient">Confirm</div>
<div mat-dialog-content>
{{information}}
</div>
<div mat-dialog-actions align="end">
<button (click)="closeDialog(true)">Yes</button>
<button (click)="closeDialog(false)">Cancel</button>
</div>
如果我从mat-dialog-container上取下填充,则在右侧和底部会出现滚动条。
为什么他们不创建对话框标题以默认扩展容器的宽度?
我有一个Mat对话框,它似乎并没有扩大容器的宽度。
由于<mat-dialog-container>
具有默认填充,因此它显示mat-dialog-title
,mat-dialog-content
和mat-dialog-actions
的间距。