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

How to override the css of the search in DropDownList

1 Answer 199 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Biser
Top achievements
Rank 1
Biser asked on 30 Sep 2016, 09:03 AM

Basically I need to set the width of the input role="listbox" class="k-textbox" to 100% because it is wider than the widget.

Any help?

1 Answer, 1 is accepted

Sort by
0
Accepted
Veselin Tsvetanov
Telerik team
answered on 03 Oct 2016, 10:04 AM
Hello Biser,

The width of the DropDownList filter input is being calculated and set dynamically. Therefore, to override its value, you will have to use the !important directive for your custom styling:
.k-list-container .k-list-filter .k-textbox {
    width: 100% !important;
}

I hope that the above helps you. If you have any further questions, please do not hesitate to contact us.

Regards,
Veselin Tsvetanov
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DropDownList
Asked by
Biser
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or