This is a migrated thread and some comments may be shown as answers.

Q2 2013 Service Pack: box-sizing issue / question

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 01 Nov 2013, 06:11 PM
I saw that the service pack now work when the box-sizing is set to border-box.

However, in kendo.common.less (line 5413) I see that content-box is still specified for k-widget.

Is the intent of the service pack to allow us to override this safely, or was this overlooked in the change to support border-box?

Thanks,
Gary

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 04 Nov 2013, 05:06 PM
Hi Gary,

By design Kendo UI styling relies on the default browsers content box model and only for some of the components border-box is applied. On the particular line you mentioned (5413) we explicitly set this rule in order to improve the integration between Kendo UI and Twitter Bootstrap 3 where everything gets box-sizing: border-box (link). Hence it is not recommended to override the default box-sizing with the traditional box model.

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Gary
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or