Kendo-angular: MaskedTextBox width cannot be styled

Created on 7 Jul 2017  路  6Comments  路  Source: telerik/kendo-angular

See Plunker: http://plnkr.co/edit/ssMuJAtrcAPUIUEb6UNb

style="width: 100%" seems to be ignored.

Styling inputs

All 6 comments

/deep/ input, kendo-maskedtextbox { width: 100%!important; } in the parent component's scss does work.

Is the workaround to inject the following CSS after the loading of the theme?

.k-maskedtextbox {
display: inline-flex;
border-width: 0;
}
.k-maskedtextbox .k-textbox {
flex: 1 0 0;
min-width: 0;
}

Fix is available in @progress/kendo-theme-default v.2.38.1 (2017-07-12)

@rmeltonmi these styles should provide a workaround, however it is recommended to upgrade the theme instead.

Is this fixed for @progress/kendo-theme-bootstrap?

@oscarrodar yes, here is a plunker snippet with the latest bootstrap theme.

Was this page helpful?
0 / 5 - 0 ratings