在fxFlex中使用calc()无法在边缘运行

时间:2019-08-14 07:32:26

标签: html css angular-material microsoft-edge angular-flex-layout

我读到Edge无法在fxFlex内部与calc()一起工作。我该如何运作?有什么解决方法吗?

我想在同一行显示两个输入,间距为10px。在chrome上确实有效,但在Edge上则无效。

<mat-form-field fxFlex="calc(50% - 10px)">

我尝试使用<div fxLayout="row wrap" fxLayoutGap="10px grid" fxLayoutAlign="center">,但也无法在边缘工作。

参见: https://github.com/angular/flex-layout/pull/667

0 个答案:

没有答案