如何将输入框设置为 ui-grid 单元格的全宽?

How to set an input box to the full width of the ui-grid cell?

在可编辑的 ui-grid v3.1.0 中,用户调整列的大小后输入框不会填充单元格(见图)。

我试过如下修改一些css,但宽度没有受到影响:

.ui-grid-cell input[type='text']{
    background-color:pink;
    width:100%;
}

我发现设置 min-width:100%; 会导致输入框宽度填满包含的单元格。

.ui-grid-cell input[type='text']{
    min-width:100%;
}