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

Strange blue colored padding at bottom of some controls

4 Answers 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 26 Apr 2016, 04:30 PM

I've approached support about this, but since I can't upload a solution verbatim to a Dojo, I can't really reproduce it (that I know of).

In the attached screenshot, you can see that the DropDownList and other controls that are either Kendo controls or style by Kendo theme look normal, but the datePicker and NumericTextBox have a thick blue padding at the bottom. And the datePicker's icon is displaced to the right.

 

Any ideas are welcome. I can't post the example per se, as the apps are huge and involve a SQL database etc that I can't upload. However, this issue has been present for as long as I've been using Kendo controls, formerly in ASP.Net forms and now in html/WEBApi applications.

Thanks, Bob Graham

4 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 26 Apr 2016, 06:01 PM

I should probably add that this may only be happening with controls inside a kendoWindow.

I'll add more later. Thanks

0
Robert
Top achievements
Rank 1
answered on 27 Apr 2016, 08:16 PM

Support asked if I was using k-textbox class on these controls.  I was, so I removed that and the location of the datePicker Icon is now correct but the problem with the blue padding at the bottom remains.

And I verified that this only happens in a kendoWindow.

Bob

0
Accepted
Iliana Dyankova
Telerik team
answered on 28 Apr 2016, 01:13 PM
Hi Bob,

I tried to reproduce the blue bottom padding issue but to no avail (dojo). However, I believe it is styling related - could you please try removing all other CSS files (leaving only the Kendo UI ones) and let me know if the same problem occurs? 

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Robert
Top achievements
Rank 1
answered on 28 Apr 2016, 06:07 PM
It turned out to be caused by having margin-bottom: 12px on the input.

Changed it to padding-bottom: 12px on the td element instead.

Thanks
Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Iliana Dyankova
Telerik team
Share this question
or