I am having trouble with font sizing with the UI for Telerik. I posted before about setting font sizes for the datepicker and dropdowns which now work great.
Now I am having trouble setting the font size for the textbox control with floating label.
<div class="demo-section k-content">
<h4>Set value</h4>
@(Html.Kendo().TextBox()
.Name("textbox")
.Placeholder("Name")
.Label(label => label
.Content("Name")
.Floating(true)
)
.HtmlAttributes(new { style = "width: 100%" })
)
<style>
.k-floating-label-container {
width: 100%;
}
</style>
</div>
I have modified CSS but the floating label looks incorrect when font size is adjusted through CSS. I would like size 14px font for both the input text and the floating label. How can I achieve this? Currently increasing the font size of the floating label makes the label not "float" far enough to the top, and obscures the textbox. Any help is appreciated.
Here is some examples of the extremely small text occuring on all UI inputs...
Textbox with filtering:
Datepicker:
This is really becoming a problem.
I still need a fix for the floating textbox, but I am wondering if there is a more universal fix that can be applied in the universal CSS. Please help, this is my only complaint with the UI so far.
I am losing time trying to adjust font sizes.