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

CSS classes editor-field and editor-label in kendo.common.min.css

1 Answer 564 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 12 Jul 2012, 04:16 PM
Hello,

I notice that kendo.common.min.css contains classes named "editor-field" and "editor-label" that conflict with ASP.NET MVC's scaffold-generated CSS classes.  Was this an oversight or intentional?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 13 Jul 2012, 06:46 AM
Hi Michael,

Indeed, a .k-edit-form-container CSS class should be added before the editor-field and editor-label classes:

.k-edit-label,
.k-edit-field,
.k-edit-form-container .editor-label,
.k-edit-form-container .editor-field
{
    display: inline-block;
    padding-bottom: 1em;
}
 
.k-edit-label,
.k-edit-form-container .editor-label
{
    width: 30%;
    text-align: right;
    padding-right: 3%;
}
 
.k-edit-field,
.k-edit-form-container .editor-field
{
    width: 60%;
}


I have updated your Telerik points for reporting the problem.

Regards,
Dimo
the Telerik team
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
Michael
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or