Wie man bootstrap-dropdown-Menü Breite flexibel zu sein?

In Bootstrap 3, ich möchte mehrere links in einem drop-down-Menü:

    <li class="dropdown">
            <a id="alert" data-toggle="dropdown" class="dropdown-toggle"  href="#" title="Notification">Notifications </a>

            <ul id="noti" class="dropdown-menu">
                 {% for t in alerts%}
                   <li> 
                     <a href="/article/{{t.slug}}">{{t.title}}</a>
                   </li>
                 {% endfor %}
            </ul>     
    </li>

Das problem ist, dass jeder link hat eine andere Breite, so Frage ich mich, wie definieren Sie css, um wickeln Sie sogar die längste links im Menü?

InformationsquelleAutor Jand | 2016-02-29

Schreibe einen Kommentar