Nav-pills open to the left

0

I'm following the following code:

<ul class="nav nav-pills">
  ...
  <li role="presentation" class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
      Dropdown <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
      ...
    </ul>
  </li>
  ...
</ul>

But I would like the dropdown to open to the left. I tried the class pull-left but without success.

Any help?

    
asked by anonymous 18.02.2017 / 23:49

1 answer

0

RESOLVED

I added the following style to the tag <ul>

<ul class="dropdown-menu" style="right: 0; left: auto;">
    
19.02.2017 / 00:00