I created a small program in Angular using a ui-select component. The issue I am facing is that the search bar is too long and I'm struggling to figure out how to shorten it. Typically, you can adjust the width properties in CSS to make changes like this, but the code seems overly complex for me to handle. My goal is to have three bars displayed on the same line.
I simply copied the sample from the official UI-Select page, which contains a lot of CSS styles that are confusing to me since I do not have much experience with CSS or Bootstrap.
The style element in the index.html looks like this:
<style>
body {
padding: 15px;
}
.select2 > .select2-choice.ui-select-match {
/* Due to Bootstrap inclusion */
height: 29px;
}
.selectize-control > .selectize-dropdown {
top: 36px;
}
</style>
Furthermore, they provided a large select.css file in their example on Plunker, which you can access here: http://plnkr.co/edit/kuryoI5osBtRihYAeoVH?p=preview
- Is there a way to reduce the width of the search bar?
- Can someone PLEASE assist me in removing unnecessary lines from the select.css file included in the Plunker demo that are not relevant to my specific scenario? I'm unsure about efficiently trimming down the file without deleting crucial elements as I am overwhelmed by its size.
Thank you for your help!