【发布时间】:2020-02-23 12:32:12
【问题描述】:
我正在使用Angular Material Dialog component,使用 mat-dialog-content 和 mat-dialog-actions 来显示带有操作按钮的页脚。
如果我设置对话框的高度(例如 80%),对话框操作会比默认设置高出奇特。
Here is a forked stackblitz of an official example
我只是设置高度:80%
const dialogRef = this.dialog.open(DialogContentExampleDialog, {
height: '80%',
width: '520px'
});
结果如下:
在我看来这是一个问题 :) 但你的意见是什么?是否可以轻松解决?
谢谢!
【问题讨论】:
-
有这方面的消息吗?我也会感兴趣的
标签: angular angular-material modal-dialog angular-components