title: how to create some CSS to align a dropdown menu to a text box
body: <p>I have a text box and when you click on it, a dropdown menu will appear with a list of strings, and when you click on a string, that string will be put in the text box.  </p>
  
  <p>I need help with creating some simple css code to align and resize the dropdown menu that appears on click, to match the size of the text box! </p>
  
  <p>this is the code of the text box and the dropdown menu:</p>
  
  <pre><code>&lt;div class="row"&gt;
              &lt;div class="col-xs-12 max300" 
                   uib-dropdown is-open="vm.descriptionDropdownOpen"&gt;
                  &lt;textarea name="description" class="form-control" 
                            ng-model="vm.presence.description" 
                            ng-click="vm.toggleDescriptionDropdown()"
                            autofocus&gt;
                  &lt;/textarea&gt;
                  &lt;ul id="descriptionDropdown" uib-dropdown-menu&gt;
                      &lt;li ng-repeat="descr in vm.loadedDescriptions" 
                          ng-click="vm.presence.description = descr.text;
                                    vm.descriptionDropdownOpen = false;"&gt;
                          {{descr.text}}
                      &lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>I gave the generated list in the dropdown menu a ID for the css ("descriptiondropdown") and the text box and the dropdown menu look like this: </p>
  
  <p><a href="https://imgur.com/a/x3w7N" rel="nofollow noreferrer">image</a></p>
  
  <p>the white box you see it s because I edited the entries of the list, but you can see in the background the dropdown menu size and above it the text box size, I'd like them to have the same width and to make the dropdown menu start aligned with the box, not on the left of it. </p>
  
  <p>And for last, if you have some tips on how to affect also the font size and spacing between the entries in the dropdown list for the CSS code would be awesome, thank you</p>