Q2 2013 Service Pack: box-sizing issue / question

2 posts, 0 answers
  1. Gary
    Gary avatar
    62 posts
    Member since:
    Sep 2013

    Posted 01 Nov 2013 Link to this post

    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
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 04 Nov 2013 Link to this post

    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!
Back to Top