I want to make a localisation dropdown with "flag images" under Laravel 5.4. I achieved it, but the dropdown is much wider than the images. How to configure it if I want to be the dropdown as wide as the images?
My snippet:
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
<img src="/img/flags/.png" alt="Logo"></a>
</a>
<ul class="dropdown-menu" role="menu">
<li><a href=""><img src="/img/flags/hu.png"></a></li>
<li><a href=""><img src="/img/flags/en.png"></a></li>
</ul>
</li>
Update:
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2wjW2ru
via IFTTT
Aucun commentaire:
Enregistrer un commentaire