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

Bootstrap css messes with k-window-titlebar

5 Answers 206 Views
Window
This is a migrated thread and some comments may be shown as answers.
Casper
Top achievements
Rank 1
Casper asked on 27 Apr 2016, 01:50 PM

I use Bootstrap + Kendo UI as explained here http://docs.telerik.com/kendo-ui/third-party/using-kendo-with-twitter-bootstrap.

However, when I include the Bootstrap css, it shifts the items in k-window-titlebar slightly lower which doesn't look very good.

You can seen the effect in this Kendo UI Dojo: http://dojo.telerik.com/apeWu

Could you please provide a workaround or fix?

5 Answers, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 29 Apr 2016, 09:37 AM
Casper,

I didn't actually notice any differences between kendo + bootstrap and kendo standalone version.

I've created two dojos based on your original one:

* http://dojo.telerik.com/@joneff/eQAYe (kendo + bootstrap)
* http://dojo.telerik.com/@joneff/IBiBO (kendo standalone)

There are two differences: 1) removing the styles for bootstrap and 2) adding some styles to make body element with no padding.

Now, there is a difference in the window content, but that's mainly due to how bootstrap gives styles to paragraphs.

I've tested in FF, Chrome and IE / Edge and they all give the same results.

Could you please check that my dojos do exhibit the same issues as yours and preferably attach a screenshot to highlight the issue.

Regards,
Ivan Zhekov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Casper
Top achievements
Rank 1
answered on 29 Apr 2016, 09:52 AM

Hi Ivan

Sorry, I should have check before I posted: The issue does not appear in Chrome (Version 50.0.2661.86 (64-bit)), but only in Mozilla Firefox (46.0)

I attached an image with the two dojos you shared side by side. In the dojo on the left, you will see the text, "Calendar", and the close button is drawn awkwardly close to the bottom.

0
Ivan Zhekov
Telerik team
answered on 02 May 2016, 07:04 AM
It seems that it's an issue related to FireFox on Linux.

If I had to guess, you are running Ubuntu, correct? Just trying to gather context on which to base my further testing into this issue.

Regards,
Ivan Zhekov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Casper
Top achievements
Rank 1
answered on 02 May 2016, 07:11 AM

That is correct.

I recently upgraded to Ubuntu 16.04 (still Firefox 46.0), but the problem still persists.

0
Ivan Zhekov
Telerik team
answered on 03 May 2016, 09:20 AM
Casper,

I believe I've narrowed it down to two possible causes:

1) In your page, you have declared "Arial, Helvetica, sans-serif" as fonts, but then in Bootstrap the fonts are declared as "Helvetica Neue, Helvetica, Arial, sans-serif". As visible from the screenshot, you have different fonts in them, which leads me to believe you have either Helvetica or Helvetica Neue installed.

2) Starting with FF 46, some limited support for -webkit- prefixed styles is available, such as font-size-adjust. In the past, that's been known to cause issues.

Locally I was able to get different results, well, not as different as yours, but still different. I believe that's more of a Bootstrap + FF issue and I am not quite sure how it can be mitigated, if at all.

Regards,
Ivan Zhekov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Window
Asked by
Casper
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Casper
Top achievements
Rank 1
Share this question
or