I recently started using the ng-bootstrap Typeahead component and so far, I am quite satisfied with it.
One thing I am trying to figure out is how to make the width of the dropdown items in sync with the input field width. Currently, the default behavior adjusts the width based on the text length, but I want them to match the input field. It seems like a simple CSS tweak...
To demonstrate, I have put together a straightforward Example on Plunker.
If you take a look, you will notice that the specified style is not being applied:
.dropdown-menu { width: 100%;}
However, when I use the browser dev tools and apply the same rule, it works as expected.
Any insights on how to achieve the desired outcome purely through CSS?