Kendo-angular: Kendo breaks Bootstrap inside their widgets?

Created on 16 Sep 2016  路  5Comments  路  Source: telerik/kendo-angular

Hello,
I'm using a KendoTabstrip in my project and the content of a tab, which was previously not inside your widget, broke. I noticed this style:
.k-widget, .k-widget *, .k-widget *::before { box-sizing: content-box; }
Since Bootstrap defaults to border-box for everything... does it mean we can't use Bootstrap inside your widgets without manually adjusting the CSS?

Most helpful comment

That said, the ideal behavior would be not to touch styles of user-defined content, so we'll attempt to remove the styles, and use box-sizing only where we need it, preserving the bootstrap layout. /cc @inikolova @joneff

All 5 comments

Yes, at this time you need to adjust the box-sizing of nested Bootstrap elements inside components, with a few lines of CSS. Here is the explanation and a workaround.

That said, the ideal behavior would be not to touch styles of user-defined content, so we'll attempt to remove the styles, and use box-sizing only where we need it, preserving the bootstrap layout. /cc @inikolova @joneff

The box-sizing has been fixed in kendo-theme-bootstrap with the above commit. From now on, container widgets should properly display bootstrap grids, without any additional styling.

In case of any issues, please report them to the concrete theme repo.

Thanks, I won't be able to test it anytime soon, when I do I'll come back at you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ilianiv picture ilianiv  路  3Comments

talcarl picture talcarl  路  3Comments

simon11196 picture simon11196  路  3Comments

ilianiv picture ilianiv  路  3Comments

ulgen picture ulgen  路  3Comments