Topic: overrides css to set the width of menu with twitter-bootstrap-rails

hi all,

the button down menu codes:

    <div class="btn-group" style="margin-left:-2px;">
     <a class="btn btn-mini dropdown-toggle" data-toggle="dropdown" href="##">
      Add a Entry <span class="caret"></span></a>
      <ul class="dropdown-menu">
      <li>
        <%= link_to 'link', new_template_entry_path(template.id), remote: true %>
      </li>
      <li>
        <%= link_to 'image', new_image_template_entries_path(template.id), remote: true %>
      </li>
      </ul>
     </div>

i override the css in "bootstrap_and_overrides.css.less" file, when set ul li wider it works but narrower not work!

how to set ul li narrower!

thanks a lot!

i am a rails rookie

Re: overrides css to set the width of menu with twitter-bootstrap-rails

i rewrite the code!

i am a rails rookie