If you know the setting, maybe it will very easy.
Please see the code, we only set some css to support it.
<nz-modal [nzStyle]="{height:'100vh', top:0}"> … </nz-modal>
vh,是指CSS中相对长度单位,表示相对视口高度(Viewport Height),1vh = 1% * 视口高度。
If you know the setting, maybe it will very easy.
Please see the code, we only set some css to support it.
<nz-modal [nzStyle]="{height:'100vh', top:0}"> … </nz-modal>
vh,是指CSS中相对长度单位,表示相对视口高度(Viewport Height),1vh = 1% * 视口高度。